Skip to content

Commit

Permalink
Merge pull request #627 from codex-team/fix/add-secret
Browse files Browse the repository at this point in the history
Update workflow
  • Loading branch information
TatianaFomina authored Jan 10, 2025
2 parents da304f0 + e871c0a commit 1bda611
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
envkey_VUE_APP_AMPLITUDE_TOKEN: ${{ secrets.AMPLITUDE_TOKEN_PROD }}
envkey_VUE_APP_CLOUDPAYMENTS_PUBLIC_ID: ${{ secrets.CP_PUBLIC_ID_STAGE }}
envkey_VUE_APP_API_ENDPOINT: "https://api.hawk.so"
envkey_VUE_APP_FREE_PLAN_ID: ${{ secrets.FREE_PLAN_ID }}
# envkey_VUE_APP_HAWK_TOKEN: ${{ secrets.HAWK_TOKEN_STAGE }}
# envkey_VUE_APP_AMPLITUDE_TOKEN: ${{ secrets.AMPLITUDE_TOKEN_STAGE }}
# envkey_VUE_APP_CLOUDPAYMENTS_PUBLIC_ID: ${{ secrets.CP_PUBLIC_ID_STAGE }}
Expand All @@ -33,6 +34,7 @@ jobs:
envkey_VUE_APP_AMPLITUDE_TOKEN: ${{ secrets.AMPLITUDE_TOKEN_PROD }}
envkey_VUE_APP_CLOUDPAYMENTS_PUBLIC_ID: ${{ secrets.CP_PUBLIC_ID_PROD }}
envkey_VUE_APP_API_ENDPOINT: "https://api.hawk.so"
envkey_VUE_APP_FREE_PLAN_ID: ${{ secrets.FREE_PLAN_ID }}

- name: Make prod envfile
if: endsWith(github.ref, '/prod-ru')
Expand All @@ -42,6 +44,7 @@ jobs:
envkey_VUE_APP_AMPLITUDE_TOKEN: ${{ secrets.AMPLITUDE_TOKEN_PROD }}
envkey_VUE_APP_CLOUDPAYMENTS_PUBLIC_ID: ${{ secrets.CP_PUBLIC_ID_PROD }}
envkey_VUE_APP_API_ENDPOINT: "https://api.hawk-tracker.ru"
envkey_VUE_APP_FREE_PLAN_ID: ${{ secrets.FREE_PLAN_ID }}

- name: Build and push docker image
uses: docker/build-push-action@v1
Expand Down

0 comments on commit 1bda611

Please sign in to comment.