Update publish.yml

This commit is contained in:
2021-02-22 12:13:55 +01:00
committed by GitHub
parent a75d9773b2
commit dc0bc9e636

View File

@@ -1,5 +1,6 @@
name: Build and Deploy name: Build and Deploy
on: on:
workflow_dispatch:
push: push:
branches: branches:
- main - main
@@ -18,9 +19,7 @@ jobs:
NODE_ENV=production yarn build NODE_ENV=production yarn build
- name: Deploy 🚀 - name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.5.9 uses: JamesIves/github-pages-deploy-action@4.0.0
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to. BRANCH: gh-pages # The branch the action should deploy to.