From 9523909752b2689dda019b38fe7287e09945dfff Mon Sep 17 00:00:00 2001 From: Lucas Dale Date: Tue, 12 Nov 2024 17:22:13 -0500 Subject: [PATCH] Fix workflows with correct syntax --- .github/workflows/main.yaml | 2 +- .github/workflows/stage.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index db370b5..284862d 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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 diff --git a/.github/workflows/stage.yaml b/.github/workflows/stage.yaml index a41bd3f..2da332a 100644 --- a/.github/workflows/stage.yaml +++ b/.github/workflows/stage.yaml @@ -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: |