Skip to content

Commit

Permalink
Use STAGING_ prefix for "staging" secrets and vars
Browse files Browse the repository at this point in the history
  • Loading branch information
vrajmohan committed Feb 23, 2024
1 parent 7e150b0 commit c87e674
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ jobs:
aptible login \
--email='${{ secrets.APTIBLE_USERNAME }}' \
--password='${{ secrets.APTIBLE_PASSWORD }}'
git push --force ${{ vars.APTIBLE_REMOTE_URL }} ${GITHUB_SHA}:${{ vars.APTIBLE_REMOTE_BRANCH }}
git push --force ${{ vars.STAGING_APTIBLE_REMOTE_URL }} ${GITHUB_SHA}:${{ vars.STAGING_APTIBLE_REMOTE_BRANCH }}
aptible deploy \
--app sn-md-pilot-staging \
--git-commitish ${GITHUB_SHA} \
'SPRING_DATASOURCE_URL=${{ secrets.SPRING_DATASOURCE_URL }}' \
'SPRING_DATASOURCE_USERNAME=${{ secrets.SPRING_DATASOURCE_USERNAME }}' \
'SPRING_DATASOURCE_PASSWORD=${{ secrets.SPRING_DATASOURCE_PASSWORD }}' \
'SPRING_DATASOURCE_URL=${{ secrets.STAGING_SPRING_DATASOURCE_URL }}' \
'SPRING_DATASOURCE_USERNAME=${{ secrets.STAGING_SPRING_DATASOURCE_USERNAME }}' \
'SPRING_DATASOURCE_PASSWORD=${{ secrets.STAGING_SPRING_DATASOURCE_PASSWORD }}' \
'SPRING_PROFILES_ACTIVE=staging' \
'AWS_ACCESS_KEY=${{ secrets.AWS_ACCESS_KEY }}' \
'AWS_BUCKET=${{ vars.AWS_BUCKET }}' \
'AWS_CMK=${{ secrets.AWS_CMK }}' \
'AWS_SECRET_KEY=${{ secrets.AWS_SECRET_KEY }}' \
'MAILGUN_KEY=${{ secrets.MAILGUN_KEY }}' \
'MIXPANEL_API_KEY=${{ secrets.MIXPANEL_API_KEY }}' \
'AWS_ACCESS_KEY=${{ secrets.STAGING_AWS_ACCESS_KEY }}' \
'AWS_BUCKET=${{ vars.STAGING_AWS_BUCKET }}' \
'AWS_CMK=${{ secrets.STAGING_AWS_CMK }}' \
'AWS_SECRET_KEY=${{ secrets.STAGING_AWS_SECRET_KEY }}' \
'MAILGUN_KEY=${{ secrets.STAGING_MAILGUN_KEY }}' \
'MIXPANEL_API_KEY=${{ secrets.STAGING_MIXPANEL_API_KEY }}' \
'SMARTY_AUTH_ID=${{ secrets.SMARTY_AUTH_ID }}' \
'SMARTY_AUTH_TOKEN=${{ secrets.SMARTY_AUTH_TOKEN }}' \
'ENCRYPTION_KEYSET=${{ secrets.ENCRYPTION_KEYSET }}' \
'ENCRYPTION_KEYSET=${{ secrets.STAGING_ENCRYPTION_KEYSET }}' \
'DEFAULT_LOCALE=en' \
'demo=true' \
'FORCE_SSL=true'

0 comments on commit c87e674

Please sign in to comment.