File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - main
77 workflow_dispatch :
88
9+ permissions :
10+ contents : write
11+
912jobs :
1013 deploy :
1114 runs-on : ubuntu-latest
1215
1316 steps :
1417 - name : Checkout code
15- uses : actions/checkout@v3
18+ uses : actions/checkout@v4
1619
1720 - name : Setup Node.js
18- uses : actions/setup-node@v3
21+ uses : actions/setup-node@v4
1922 with :
2023 node-version : ' 18'
2124 cache : ' npm'
25+ cache-dependency-path : package-lock.json
2226
2327 - name : Install dependencies
2428 run : npm ci
2529
2630 - name : Build
2731 run : npm run build
2832
29- - name : Deploy
30- run : echo "Deployment step - configure based on your hosting platform"
31- # Add your deployment commands here
32- # Examples:
33- # - Deploy to GitHub Pages
34- # - name: Deploy to GitHub Pages
35- # uses: peaceiris/actions-gh-pages@v3
36- # with:
37- # github_token: ${{ secrets.GITHUB_TOKEN }}
38- # publish_dir: ./dist
33+ - name : Deploy to GitHub Pages
34+ uses : peaceiris/actions-gh-pages@v4
35+ with :
36+ github_token : ${{ secrets.GITHUB_TOKEN }}
37+ publish_dir : ./dist
3938
Original file line number Diff line number Diff line change 11# Dependencies
22node_modules /
3- package-lock.json
43yarn.lock
54pnpm-lock.yaml
65
You can’t perform that action at this time.
0 commit comments