mirror of
https://github.com/rikkaneko/paste.git
synced 2025-08-08 23:15:34 +01:00
Add Github workflow to depoly worker
Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
parent
bc0704f49d
commit
885b521dbc
1 changed files with 16 additions and 0 deletions
16
.github/workflows/depoly-worker.yaml
vendored
Normal file
16
.github/workflows/depoly-worker.yaml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: Deploy Worker
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
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…
Add table
Add a link
Reference in a new issue