File tree Expand file tree Collapse file tree 2 files changed +14
-16
lines changed
Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 1111 branches : [ main ]
1212
1313jobs :
14- build :
14+ build-and-deploy :
15+ concurrency : ci-${{ github.ref }}
1516 runs-on : ubuntu-latest
16-
1717 steps :
18- - uses : actions/checkout@v4
18+ - name : Checkout 🛎️
19+ uses : actions/checkout@v6
1920 with :
2021 persist-credentials : false
21- - uses : actions/setup-node@v4
22- with :
23- node-version : latest
24-
2522
26- - name : Install dependencies
27- run : npm install
23+ - name : Set up Git
24+ run : |
25+ git config --global user.name "Github Actions"
26+ git config --global user.email "actions@github.com"
2827
29- - name : Create build files for gh-pages deploy
30- run : npm run ghpages:build
28+ - name : Install and Build 🔧
29+ run : |
30+ npm ci
31+ npm run ghpages:build
3132
32- # Reference: https://github.com/JamesIves/github-pages-deploy-action
3333 - name : Deploy 🚀
34- uses : JamesIves/github-pages-deploy-action@v4.7.3
34+ uses : JamesIves/github-pages-deploy-action@v4
3535 with :
3636 branch : ghpages
3737 folder : ghpages
Original file line number Diff line number Diff line change 2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Checkout
24- uses : actions/checkout@v4
24+ uses : actions/checkout@v6
2525 - uses : actions/setup-node@v4
26- with :
27- node-version : latest
2826
2927 - name : Set up Git
3028 run : |
You can’t perform that action at this time.
0 commit comments