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
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.