From 2c6799125f1c84c06c8ac5aaa4bead81245905b5 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 12 Jun 2021 13:42:14 +0100 Subject: [PATCH] Create cloudflare-deploy.yml --- .github/workflows/cloudflare-deploy.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/cloudflare-deploy.yml diff --git a/.github/workflows/cloudflare-deploy.yml b/.github/workflows/cloudflare-deploy.yml new file mode 100644 index 00000000..2cfb0c40 --- /dev/null +++ b/.github/workflows/cloudflare-deploy.yml @@ -0,0 +1,17 @@ +name: Build +on: + push: + pull_request: + repository_dispatch: +jobs: + deploy: + runs-on: ubuntu-latest + timeout-minutes: 60 + steps: + - uses: actions/checkout@master + - name: Build site + run: 'yarn && Yarn build' + - name: Publish + uses: cloudflare/wrangler-action@1.2.0 + with: + apiToken: ${{ secrets.CF_API_TOKEN }}