From dc0bc9e6361d22870d8b6ddae7cac081cca1903e Mon Sep 17 00:00:00 2001 From: Morten Olsen Date: Mon, 22 Feb 2021 12:13:55 +0100 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7a08e1d..46a7d78 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,5 +1,6 @@ name: Build and Deploy -on: +on: + workflow_dispatch: push: branches: - main @@ -18,9 +19,7 @@ jobs: NODE_ENV=production yarn build - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@3.5.9 - env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' + uses: JamesIves/github-pages-deploy-action@4.0.0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages # The branch the action should deploy to.