From f06a2dddb16bffb993ad8e9f7987d5d005e3d743 Mon Sep 17 00:00:00 2001 From: vasc Date: Sat, 20 Jan 2024 23:07:23 +0100 Subject: [PATCH] update github workflow --- .github/workflows/astro-deploy.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/astro-deploy.yml b/.github/workflows/astro-deploy.yml index dcfa771..3f345ab 100644 --- a/.github/workflows/astro-deploy.yml +++ b/.github/workflows/astro-deploy.yml @@ -1,14 +1,10 @@ -name: Github Pages Astro CI +name: Deploy to GitHub Pages on: - # Trigger the workflow every time you push to the `main` branch - # Using a different branch name? Replace `main` with your branch’s name push: branches: [main] - # Allows you to run this workflow manually from the Actions tab on GitHub. workflow_dispatch: -# Allow this job to clone the repo and create a page deployment permissions: contents: read pages: write @@ -19,12 +15,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout your repository using git - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install, build, and upload your site - uses: withastro/action@v0 + uses: withastro/action@v1 with: - node-version: 18 - package-manager: npm # Until astro releases support for pnpm 8 + node-version: 20 + package-manager: pnpm@latest deploy: needs: build