Skip to content

Commit

Permalink
chore: Update frontend_deploy.yml to include capturing deployment out…
Browse files Browse the repository at this point in the history
…put in a file
  • Loading branch information
Diegogtz03 committed Jun 12, 2024
1 parent 0138c19 commit 73da945
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/frontend_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
deploy:
# needs: test
name: "Deploy to AWS"
environment: dev
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -86,20 +87,20 @@ jobs:
sst version
- name: Copy Secrets
run: |
sst secret set APIRootRoute $API_ROOT_ROUTE
sst secret set DBUrl $DB_URL
sst secret set NextAuthUrl $NEXTAUTH_URL
sst secret set NextAuthSecret $NEXTAUTH_SECRET
sst secret set GithubId $GITHUB_ID
sst secret set GithubSecret $GITHUB_SECRET
sst secret set GoogleClientId $GOOGLE_CLIENT_ID
sst secret set GoogleClientSecret $GOOGLE_CLIENT_SECRET
sst secret set EmailServerHost $EMAIL_SERVER_HOST
sst secret set EmailServerPort $EMAIL_SERVER_PORT
sst secret set EmailServerUser $EMAIL_SERVER_USER
sst secret set EmailServerPassword $EMAIL_SERVER_PASSWORD
sst secret set EmailFrom $EMAIL_FROM
sst secret set SendgridApiKey $SENDGRID_API_KEY
sst secret set APIRootRoute $API_ROOT_ROUTE --stage dev
sst secret set DBUrl $DB_URL --stage dev
sst secret set NextAuthUrl $NEXTAUTH_URL --stage dev
sst secret set NextAuthSecret $NEXTAUTH_SECRET --stage dev
sst secret set GithubId $GITHUB_ID --stage dev
sst secret set GithubSecret $GITHUB_SECRET --stage dev
sst secret set GoogleClientId $GOOGLE_CLIENT_ID --stage dev
sst secret set GoogleClientSecret $GOOGLE_CLIENT_SECRET --stage dev
sst secret set EmailServerHost $EMAIL_SERVER_HOST --stage dev
sst secret set EmailServerPort $EMAIL_SERVER_PORT --stage dev
sst secret set EmailServerUser $EMAIL_SERVER_USER --stage dev
sst secret set EmailServerPassword $EMAIL_SERVER_PASSWORD --stage dev
sst secret set EmailFrom $EMAIL_FROM --stage dev
sst secret set SendgridApiKey $SENDGRID_API_KEY --stage dev
working-directory: knowx
env:
API_ROOT_ROUTE: ${{ secrets.API_ROOT_ROUTE }}
Expand All @@ -124,7 +125,7 @@ jobs:
- name: Deploy
id: deploy
run: |
sst deploy > deployment_output.txt
sst deploy --stage dev > deployment_output.txt
echo "deployment_output_path=deployment_output.txt" >> $GITHUB_OUTPUT
working-directory: knowx

Expand Down

0 comments on commit 73da945

Please sign in to comment.