-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Diógenes Fernandes <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters