Skip to content

Commit bf8278b

Browse files
committed
deploy wrangler
Signed-off-by: Diógenes Fernandes <[email protected]> conflict of keys Signed-off-by: Diógenes Fernandes <[email protected]> bumop Signed-off-by: Diógenes Fernandes <[email protected]> run Signed-off-by: Diógenes Fernandes <[email protected]> on push Signed-off-by: Diógenes Fernandes <[email protected]> test deployment Signed-off-by: Diógenes Fernandes <[email protected]> 0.0.1 Signed-off-by: Diógenes Fernandes <[email protected]> put as env variable Signed-off-by: Diógenes Fernandes <[email protected]> account id Signed-off-by: Diógenes Fernandes <[email protected]> account id Signed-off-by: Diógenes Fernandes <[email protected]> bucket name and worker name Signed-off-by: Diógenes Fernandes <[email protected]> not main Signed-off-by: Diógenes Fernandes <[email protected]> deploy in my personal account Signed-off-by: Diógenes Fernandes <[email protected]> update wrangler Signed-off-by: Diógenes Fernandes <[email protected]> 10% of logs Signed-off-by: Diógenes Fernandes <[email protected]> using a token bucket pattern Signed-off-by: Diógenes Fernandes <[email protected]>
1 parent e9c38e6 commit bf8278b

File tree

5 files changed

+946
-97
lines changed

5 files changed

+946
-97
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy Search Worker
2+
on:
3+
push
4+
# paths:
5+
# - 'search/worker/**'
6+
7+
jobs:
8+
deploy:
9+
name: Run deploy
10+
runs-on: ubuntu-latest
11+
defaults:
12+
run:
13+
working-directory: search/worker
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Setup Node
18+
uses: actions/setup-node@v4
19+
with:
20+
# if we need to change node version, we need to change the Dockerfile on this folder as well
21+
node-version: '18.x'
22+
- name: Install dependencies
23+
run: npm ci
24+
- name: Deploy Wrangler
25+
env:
26+
CLOUDFLARE_ACCOUNT_ID: 919942d1077740aa3cff8c6cf511147a
27+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
28+
run: |
29+
npm run deploy

0 commit comments

Comments
 (0)