Skip to content

Commit

Permalink
use withastro github actions deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinanielsen committed Jan 14, 2025
1 parent 834277f commit 1e6bcce
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,11 @@ jobs:
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Install, build, and upload your site
uses: withastro/action@v3
with:
version: 10
- name: Install dependencies
run: cd docs && pnpm install
- name: Build
run: cd docs && pnpm build
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3
with:
path: docs/dist/
path: ./docs
package-manager: pnpm@latest

deploy:
needs: build
Expand Down

0 comments on commit 1e6bcce

Please sign in to comment.