Skip to content

Commit

Permalink
ci: more conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
cskiwi committed Dec 28, 2024
1 parent 4ff812e commit 2a10f70
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: stop agents
run: bun nx-cloud complete-ci-run
run: npx nx-cloud complete-ci-run
if: always()

- uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -172,15 +172,15 @@ jobs:
# deploy the new packages
- name: Deploy to Prod
if: github.ref == 'refs/heads/main'
run: bun nx affected -t deploy --no-agents
run: ${{ env.PACKAGE_MANAGER }} run nx affected -t deploy --no-agents
env:
API_HOOK: ${{ secrets.PROD_API_HOOK }}
WORKER_SYNC_HOOK: ${{ secrets.PROD_WORKER_SYNC_HOOK }}
WORKER_RANKING_HOOK: ${{ secrets.PROD_WORKER_RANKING_HOOK }}

- name: Deploy to Beta
run: bun nx affected -t deploy --no-agents
run: ${{ env.PACKAGE_MANAGER }} run nx affected -t deploy --no-agents
env:
API_HOOK: ${{ secrets.BETA_API_HOOK }}
WORKER_SYNC_HOOK: ${{ secrets.BETA_WORKER_SYNC_HOOK }}
WORKER_RANKING_HOOK: ${{ secrets.BETA_WORKER_RANKING_HOOK }}
API_HOOK: ${{ secrets.BETA_API_HOOK }}
WORKER_SYNC_HOOK: ${{ secrets.BETA_WORKER_SYNC_HOOK }}
WORKER_RANKING_HOOK: ${{ secrets.BETA_WORKER_RANKING_HOOK }}

0 comments on commit 2a10f70

Please sign in to comment.