diff --git a/.github/workflows/cf.yml b/.github/workflows/cf.yml new file mode 100644 index 0000000..0a0b12f --- /dev/null +++ b/.github/workflows/cf.yml @@ -0,0 +1,19 @@ +name: cf workers + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: deploy + uses: cloudflare/wrangler-action@v3 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}