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]>
  • Loading branch information
diofeher committed Feb 24, 2025
1 parent e9c38e6 commit 0fc5d5c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/deploy-search-worker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy Search Worker
on:
push:
paths:
- 'search/worker/**'

jobs:
deploy:
name: Run deploy
runs-on: ubuntu-latest
defaults:
working-directory: search/worker
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
- 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
uses: actions/cache@v4
run: |
npm run deploy -- --dry-run
2 changes: 1 addition & 1 deletion search/worker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "registry-ui-search",
"version": "0.0.0",
"version": "0.0.1",
"private": true,
"scripts": {
"deploy": "wrangler deploy",
Expand Down

0 comments on commit 0fc5d5c

Please sign in to comment.