Updated withastro/action to v3 + took out code comment

This commit is contained in:
niclaz 2024-09-11 17:24:32 +02:00 committed by GitHub
parent e3bd359155
commit ab686c262d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 7 deletions

View File

@ -21,12 +21,8 @@ jobs:
- name: Checkout your repository using git - name: Checkout your repository using git
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install, build, and upload your site - name: Install, build, and upload your site
uses: withastro/action@v2 uses: withastro/action@v3
# with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (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)
deploy: deploy:
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -36,4 +32,4 @@ jobs:
steps: steps:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v4 uses: actions/deploy-pages@v4