Skip to content

Commit a4acdef

Browse files
committed
Fix CI
1 parent ee48656 commit a4acdef

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

β€Ž.github/workflows/nodejs.ymlβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,29 @@ on:
88
jobs:
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

0 commit comments

Comments
Β (0)