Skip to content

Commit 9841ae7

Browse files
committed
meta: attempt to fix publish workflow
1 parent 926d416 commit 9841ae7

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/publish.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Checkout
12-
uses: actions/checkout@v1
13-
uses: actions/setup-node@v1
11+
- uses: actions/checkout@v1
12+
- uses: actions/setup-node@v1
1413
with:
1514
node-version: 12
1615
registry-url: https://registry.npmjs.org/
@@ -25,16 +24,15 @@ jobs:
2524
run: |
2625
yarn install --frozen-lock-file
2726
yarn build
28-
27+
2928
- name: Deploy demo page
3029
uses: JamesIves/[email protected]
31-
working-directory: example
3230
with:
3331
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
BRANCH: gh-pages
35-
FOLDER: dist
32+
BRANCH: gh-pages
33+
FOLDER: example/dist
3634
CLEAN: true
37-
35+
3836
- name: Publish
3937
run: npm publish
4038
env:

0 commit comments

Comments
 (0)