From e1891785a7442ed4146c83c3c9cf243a48d5e980 Mon Sep 17 00:00:00 2001 From: Akashdeep <76022812+AkashDeep000@users.noreply.github.com> Date: Mon, 2 Aug 2021 21:41:05 +0530 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1dec8b2 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Deploy + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + name: Deploy + steps: + - uses: actions/checkout@v2 + - name: Publish + uses: cloudflare/wrangler-action@1.3.0 + with: + apiToken: ${{ secrets.CF_API_TOKEN }} + email: ${{ secrets.CF_EMAIL }}