Skip to content

Commit 7ebef81

Browse files
authored
Merge pull request #249 from CivicDataLab/248-update-the-workflow-to-fix-auto-deployment
update the workflow to fix auto deployment
2 parents c7343ce + 8138b1e commit 7ebef81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [12.x]
14+
node-version: [16.x]
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818
- name: Use Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v1
19+
uses: actions/setup-node@v3
2020
with:
2121
node-version: ${{ matrix.node-version }}
2222
- name: Cache node modules
23-
uses: actions/cache@v2
23+
uses: actions/cache@v3
2424
env:
2525
cache-name: cache-node-modules
2626
with:
@@ -30,7 +30,7 @@ jobs:
3030
${{ runner.os }}-build-${{ env.cache-name }}-
3131
${{ runner.os }}-build-
3232
${{ runner.os }}-
33-
- run: npm install
33+
- run: npm install
3434
- run: npm run build
3535
- name: deploy
3636
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)