environment variable ENV->ENVIRONMENT

This commit is contained in:
Rafi Greenberg
2021-11-09 13:37:52 -08:00
parent 75deb9b0cd
commit 6a20f8f003

View File

@@ -62,7 +62,7 @@ jobs:
uses: rtCamp/action-slack-notify@v2 uses: rtCamp/action-slack-notify@v2
env: env:
MSG_MINIMAL: true MSG_MINIMAL: true
SLACK_MESSAGE: "Deploying to ${{ env.ENV }}... :partydeploy:" SLACK_MESSAGE: "Deploying to ${{ env.ENVIRONMENT }}... :partydeploy:"
- name: Deploy - name: Deploy
id: deploy id: deploy
env: env:
@@ -80,7 +80,7 @@ jobs:
uses: rtCamp/action-slack-notify@v2 uses: rtCamp/action-slack-notify@v2
env: env:
MSG_MINIMAL: true MSG_MINIMAL: true
SLACK_MESSAGE: "Successfully deployed to ${{ env.ENV }}! :gopher_party:" SLACK_MESSAGE: "Successfully deployed to ${{ env.ENVIRONMENT }}! :gopher_party:"
- name: Notify if failure - name: Notify if failure
if: ${{ failure() }} if: ${{ failure() }}