17 lines
379 B
YAML
17 lines
379 B
YAML
|
name: Deploy Worker
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
jobs:
|
||
|
deploy:
|
||
|
runs-on: ubuntu-latest
|
||
|
timeout-minutes: 60
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- name: Build & Deploy Worker
|
||
|
uses: cloudflare/wrangler-action@v3
|
||
|
with:
|
||
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|