From 9841ae7774990528bfb1c8a5b76574488a278b21 Mon Sep 17 00:00:00 2001 From: Sebastian Frysztak Date: Tue, 17 Nov 2020 21:21:19 +0100 Subject: [PATCH] meta: attempt to fix publish workflow --- .github/workflows/publish.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4b9bc99..329d803 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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/ @@ -25,16 +24,15 @@ jobs: run: | yarn install --frozen-lock-file yarn build - + - name: Deploy demo page uses: JamesIves/github-pages-deploy-action@3.7.1 - 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: