Skip to content

Commit

Permalink
chore: change to manually build the astro site instead of using the a…
Browse files Browse the repository at this point in the history
…stro action
  • Loading branch information
justin1dennison committed Oct 28, 2024
1 parent e9107d3 commit 69a7e0d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,20 @@ jobs:
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install, build, and upload your site output
uses: withastro/action@v2
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18' # Choose a version compatible with Astro
cache: 'pnpm'

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: pnpm install

- name: Build the Astro site
run: pnpm build
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 69a7e0d

Please sign in to comment.