File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 setup-node :
1010 runs-on : ubuntu-latest
11+ environment : github-pages
1112
1213 steps :
13- - uses : actions/checkout@master
14+ - name : Checkout ποΈ
15+ uses : actions/checkout@master
16+
1417 - name : Use Node.js 16
1518 uses : actions/setup-node@master
1619 with :
1720 node-version : 16
1821
1922 build-and-deploy :
2023 runs-on : ubuntu-latest
21- # using @master isn't sufficient as it will end up using an incompatible version number
24+ environment : github-pages
25+ needs :
26+ - setup-node
2227
2328 steps :
24- - name : Checkout ποΈ
25- uses : actions/checkout@v3
26-
2729 # The build script the action should run prior to deploying.
2830 - name : Build Production React.js page π§
2931 run : |
3032 npm install
3133 npm run-script build
32- env :
33- CI : false
3434
3535 - name : Deploy to Github Pages π
3636 uses : JamesIves/github-pages-deploy-action@v4.4.1
You canβt perform that action at this time.
0 commit comments