environment variable ENV->ENVIRONMENT
This commit is contained in:
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -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() }}
|
||||||
|
|||||||
Reference in New Issue
Block a user