Skip to content

Commit 9bf11a7

Browse files
authored
Update deploy.yml
1 parent 48bf0e9 commit 9bf11a7

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
# Trigger the workflow every time you push to the `main` branch
55
# Using a different branch name? Replace `main` with your branch’s name
66
push:
7-
branches: [main]
7+
branches: [ main ]
88
# Allows you to run this workflow manually from the Actions tab on GitHub.
99
workflow_dispatch:
1010

@@ -14,23 +14,21 @@ permissions:
1414
pages: write
1515
id-token: write
1616

17-
# Allow one concurrent deployment
18-
concurrency:
19-
group: "pages"
20-
cancel-in-progress: true
21-
2217
jobs:
2318
build:
2419
runs-on: ubuntu-latest
2520
steps:
2621
- name: Checkout your repository using git
27-
uses: actions/checkout@v2
28-
- name: Install, build, and upload your site output
29-
uses: withastro/action@v0
22+
uses: actions/checkout@v5
23+
- name: Install, build, and upload your site
24+
uses: withastro/action@v5
3025
# with:
31-
# path: . # The root location of your Astro project inside the repository. (optional)
32-
# node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)
33-
# package-manager: yarn # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
26+
# path: . # The root location of your Astro project inside the repository. (optional)
27+
# node-version: 24 # The specific version of Node that should be used to build your site. Defaults to 22. (optional)
28+
# 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)
29+
# build-cmd: pnpm run build # The command to run to build your site. Runs the package build script/task by default. (optional)
30+
# env:
31+
# PUBLIC_POKEAPI: 'https://pokeapi.co/api/v2' # Use single quotation marks for the variable value. (optional)
3432

3533
deploy:
3634
needs: build
@@ -41,4 +39,4 @@ jobs:
4139
steps:
4240
- name: Deploy to GitHub Pages
4341
id: deployment
44-
uses: actions/deploy-pages@v1
42+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)