Skip to content

Commit

Permalink
Fix workflows with correct syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasdale99 committed Nov 12, 2024
1 parent d8ad1e4 commit 9523909
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Set SST Config Secret
run: |
npx sst secret set COMMIT_SHA=${{ github.sha }} --stage production
npx sst secret set COMMIT_SHA ${{ github.sha }} --stage production
- name: Deploy with SST
run: pnpm run deploy
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
- name: Set SST Config Secret
run: |
npx sst secret set DATABASE_URL=${{ secrets.DATABASE_URL_STAGING }} --stage staging
npx sst secret set NEXT_PUBLIC_SITE_URL=${{ secrets.NEXT_PUBLIC_SITE_URL_STAGING }} --stage staging
npx sst secret set COMMIT_SHA=${{ github.sha }} --stage staging
npx sst secret set DATABASE_URL ${{ secrets.DATABASE_URL_STAGING }} --stage staging
npx sst secret set NEXT_PUBLIC_SITE_URL ${{ secrets.NEXT_PUBLIC_SITE_URL_STAGING }} --stage staging
npx sst secret set COMMIT_SHA ${{ github.sha }} --stage staging
- name: Run staging DB Migrations
run: |
Expand Down

0 comments on commit 9523909

Please sign in to comment.