Skip to content

Commit

Permalink
update deployment configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkang-0 committed Jan 12, 2024
1 parent 4deb272 commit 4caf0ca
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,22 @@ jobs:
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site
uses: withastro/action@v1
# with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)

- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Install dependencies
run: npm ci

- name: Build Astro
run: npm run build --if-present

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist

deploy:
needs: build
Expand Down
3 changes: 2 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ import react from "@astrojs/react";
// https://astro.build/config
export default defineConfig({
integrations: [react()],
site: 'https://hackforimpact.calblueprint.org'
site: 'https://calblueprint.github.io',
base: 'hack-for-impact'
});
1 change: 0 additions & 1 deletion public/CNAME

This file was deleted.

0 comments on commit 4caf0ca

Please sign in to comment.