Set up deploy bot

This commit is contained in:
Keavon Chambers 2021-04-10 13:27:49 -07:00
parent 2497a21737
commit 64ee09671e
1 changed files with 7 additions and 3 deletions

View File

@ -22,7 +22,11 @@ jobs:
run: cd client/web && npm install run: cd client/web && npm install
- name: build node - name: build node
run: cd client/web && npm run build run: cd client/web && npm run build
- name: Deploy to Cloudflare Workers - name: Deploy 🚀
uses: cloudflare/wrangler-action@1.2.0 uses: JamesIves/github-pages-deploy-action@4.1.1
with: with:
apiToken: ${{ secrets.CF_API_TOKEN }} branch: deploy # The branch the action should deploy to.
folder: client/web/dist # The folder the action should deploy.
clean: true
single-commit: true
git-config-name: Deploy Bot