Skip to content

Add github actions

Add github actions #3

Workflow file for this run

name: Deploy worker (staging)
on:
push:
# branches:
# - main
jobs:
deploy-staging:
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v2
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: deploy --env staging