From 2a8cc34997614ee6d2a136db25074bd0e90468ba Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Sat, 10 Apr 2021 13:27:49 -0700 Subject: [PATCH] Set up deploy bot --- .github/workflows/cd.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d1e9cfa24..392ccfd1f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,7 +22,11 @@ jobs: run: cd client/web && npm install - name: build node run: cd client/web && npm run build - - name: Deploy to Cloudflare Workers - uses: cloudflare/wrangler-action@1.2.0 + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@4.1.1 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