File tree Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Original file line number Diff line number Diff line change 66 - master
77
88jobs :
9- build-and- deploy :
9+ deploy :
1010 runs-on : ubuntu-20.04
1111 permissions :
1212 contents : write
1313 concurrency :
1414 group : ${{ github.workflow }}-${{ github.ref }}
1515 steps :
16- - name : Checkout 🛎️
17- uses : actions/checkout@v3
16+ - uses : actions/checkout@v3
17+ with :
18+ fetch-depth : 0
1819
19- - name : Install Node ⚛️
20+ - name : Install Node
2021 uses : actions/setup-node@v3
2122 with :
22- node-version : ' 14'
23+ node-version : ' 14.x'
24+
25+ - name : Install Packages
26+ run : npm ci
2327
24- - name : Install Packages and Build 🔧
25- run : |
26- npm ci
28+ - name : Build
29+ run : npm run build
2730
28- - name : Deploy 🚀
29- run : |
30- git config user.email "${{ secrets.GIT_CONFIG_EMAIL }}"
31- git config user.name "${{ secrets.GIT_CONFIG_NAME }}"
32- npm run deploy
31+ - name : Deploy
32+ uses : peaceiris/actions-gh-pages@v3
33+ if : ${{ github.ref == 'refs/heads/master' }}
34+ with :
35+ github_token : ${{ secrets.GITHUB_TOKEN }}
36+ publish_dir : ./
You can’t perform that action at this time.
0 commit comments