Skip to content

Commit 3548ee2

Browse files
Copilotkiyarose
andauthored
ci: add GitHub Actions deploy workflow using wrangler deploy
Agent-Logs-Url: https://github.com/SillyLittleTech/UpMagic/sessions/0d065ad7-9f7a-4768-aa6e-68edda181830 Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
1 parent dd9a6cf commit 3548ee2

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
name: Deploy Worker
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Deploy
15+
uses: cloudflare/wrangler-action@v3
16+
with:
17+
apiToken: ${{ secrets.CF_API_TOKEN }}
18+
accountId: ${{ secrets.CF_ACCOUNT_ID }}
19+
command: deploy

0 commit comments

Comments
 (0)