Add Forgejo Actions workflow (copied from .github/workflows/deploy.yml)
Some checks failed
Deploy to Cloudflare Workers / deploy (push) Failing after 58s
Some checks failed
Deploy to Cloudflare Workers / deploy (push) Failing after 58s
This commit is contained in:
parent
9d68a7c3af
commit
024823b77a
1 changed files with 23 additions and 0 deletions
23
.forgejo/workflows/deploy.yml
Normal file
23
.forgejo/workflows/deploy.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Deploy to Cloudflare Workers
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
- name: Deploy Worker
|
||||
uses: cloudflare/wrangler-action@v3
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
Loading…
Add table
Reference in a new issue