Skip to content

Commit

Permalink
meta: attempt to fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frysztak committed Nov 17, 2020
1 parent 926d416 commit 9841ae7
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/setup-node@v1
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
Expand All @@ -25,16 +24,15 @@ jobs:
run: |
yarn install --frozen-lock-file
yarn build
- name: Deploy demo page
uses: JamesIves/[email protected]
working-directory: example
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
BRANCH: gh-pages
FOLDER: example/dist
CLEAN: true

- name: Publish
run: npm publish
env:
Expand Down

0 comments on commit 9841ae7

Please sign in to comment.