Skip to content

Commit

Permalink
deploy wrangler
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
diofeher committed Feb 27, 2025
1 parent e9c38e6 commit ecd166f
Show file tree
Hide file tree
Showing 5 changed files with 946 additions and 97 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy-search-worker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy Search Worker
on:
push
# paths:
# - 'search/worker/**'

jobs:
deploy:
name: Run deploy
runs-on: ubuntu-latest
defaults:
run:
working-directory: search/worker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
# if we need to change node version, we need to change the Dockerfile on this folder as well
node-version: '18.x'
- name: Install dependencies
run: npm ci
- name: Deploy Wrangler
env:
CLOUDFLARE_ACCOUNT_ID: 919942d1077740aa3cff8c6cf511147a
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
run: |
npm run deploy
Loading

0 comments on commit ecd166f

Please sign in to comment.