File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 66 - main
77
88permissions :
9- contents : write # Allows actions to push to the repository (required for gh-pages)
10- pages : write # Allows actions to deploy to GitHub Pages
11-
9+ contents : write # Allows actions to push to the repository (required for gh-pages)
10+ pages : write # Allows actions to deploy to GitHub Pages
11+
1212jobs :
1313 build :
1414 runs-on : ubuntu-latest
1515 steps :
1616 # Step 1: Checkout the code
1717 - name : Checkout code
18- uses : actions/checkout@v3
18+ uses : actions/checkout@v4.2.2
1919
2020 # Step 2: Set up Node.js using .nvmrc
2121 - name : Set up Node.js
22- uses : actions/setup-node@v3
22+ uses : actions/setup-node@v4.3.0
2323 with :
2424 node-version-file : .nvmrc
2525
3333
3434 # Step 5: Upload production-ready build files (artifact)
3535 - name : Upload production-ready build files
36- uses : actions/upload-artifact@v3
36+ uses : actions/upload-artifact@v4.6.1
3737 with :
3838 name : production-files
3939 path : ./dist
@@ -44,14 +44,14 @@ jobs:
4444 steps :
4545 # Step 1: Download artifact
4646 - name : Download artifact
47- uses : actions/download-artifact@v3
47+ uses : actions/download-artifact@v4.2.0
4848 with :
4949 name : production-files
5050 path : ./dist
5151
5252 # Step 2: Deploy to GitHub Pages
5353 - name : Deploy to GitHub Pages
54- uses : peaceiris/actions-gh-pages@v3
54+ uses : peaceiris/actions-gh-pages@v4.0.0
5555 with :
5656 github_token : ${{ secrets.GITHUB_TOKEN }}
57- publish_dir : ./dist
57+ publish_dir : ./dist
You can’t perform that action at this time.
0 commit comments