Skip to content

Commit 74708c5

Browse files
committed
Adding deployment workflow
1 parent 2291018 commit 74708c5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Site Deploy
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
site-deploy:
10+
runs-on: ubuntu-latest
11+
container:
12+
image: node:22-alpine
13+
env:
14+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
15+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
16+
steps:
17+
- name: Check out repository code
18+
uses: actions/checkout@v4
19+
- name: Install Yarn Dependencies
20+
run: cd apps/front && yarn install
21+
- name: Deploy Site
22+
run: cd apps/front && npm run deploy:worker

0 commit comments

Comments
 (0)