Skip to content

Commit 6f696c8

Browse files
committed
workflow: fix workflow for deploy demo
1 parent d53379b commit 6f696c8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/update-examples.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ jobs:
1212
- uses: actions/checkout@v1
1313
- uses: actions/setup-node@v1
1414
with:
15-
node-version: 12
15+
node-version: 14
16+
- name: Install and Build
17+
run: |
18+
npm install
19+
npm run build-examples
1620
- uses: JamesIves/[email protected]
17-
env:
18-
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
19-
BASE_BRANCH: master
20-
BRANCH: gh-pages
21-
FOLDER: examples-dist
22-
BUILD_SCRIPT: npm install && npm run build-examples
21+
with:
22+
token: ${{ secrets.ACCESS_TOKEN }}
23+
branch: gh-pages
24+
folder: examples-dist

0 commit comments

Comments
 (0)