Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Feb 10, 2024
1 parent 8c8cf7e commit 24ac35a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy_worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ jobs:

- uses: actions/checkout@v3
- name: Deploy
working-directory: packages/worker # Specifies the directory where the npm command should be run
# run npx wrangler publish
run: CLOUDFLARE_ACCOUNT_ID=${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_API_TOKEN=${{ secrets.CLOUDFLARE_API_TOKEN }} npx wrangler deploy
run: CLOUDFLARE_ACCOUNT_ID=${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_API_TOKEN=${{ secrets.CLOUDFLARE_API_TOKEN }} npm run deploy
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"scripts": {
"dev": "lerna run dev --scope @cojourney/agent --scope @cojourney/app --scope @cojourney/worker",
"dev:all": "lerna run dev",
"deploy": "lerna run deploy --scope @cojourney/worker",
"cj": "cd packages/shell && npm run dev",
"build": "lerna run build",
"build:worker": "lerna run build --scope @cojourney/agent --scope @cojourney/worker",
Expand Down

0 comments on commit 24ac35a

Please sign in to comment.