From 1e6bccea147696345e91b8b64e861210f0d2ab9d Mon Sep 17 00:00:00 2001 From: Kevin Nielsen Date: Tue, 14 Jan 2025 19:26:17 +0100 Subject: [PATCH] use withastro github actions deploy script --- .github/workflows/deploy.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b329221..30887a6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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