added workflow to deploy to cloudflare
Some checks failed
Deploy Worker / deploy (push) Failing after 19s
Some checks failed
Deploy Worker / deploy (push) Failing after 19s
This commit is contained in:
parent
2e07c7a298
commit
87ce902a30
16
.gitea/workflows/deploy-to-workers.yaml
Normal file
16
.gitea/workflows/deploy-to-workers.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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 }}
|
Loading…
Reference in New Issue
Block a user