Compare commits
2 Commits
e6f9ad36d3
...
b9a3e47662
| Author | SHA1 | Date | |
|---|---|---|---|
| b9a3e47662 | |||
| a5e34053f7 |
@@ -164,7 +164,7 @@ jobs:
|
||||
NEXT_PUBLIC_UMAMI_WEBSITE_ID='${{ secrets.NEXT_PUBLIC_UMAMI_WEBSITE_ID }}' \
|
||||
NODE_ENV='${{ secrets.NODE_ENV }}' \
|
||||
SENTRY_DSN='${{ secrets.SENTRY_DSN }}' \
|
||||
sudo -u deploy -E /home/deploy/deploy.sh"
|
||||
sudo -u deploy -H -E /home/deploy/deploy.sh"
|
||||
|
||||
DEPLOY_EXIT_CODE=$?
|
||||
echo ""
|
||||
@@ -221,7 +221,8 @@ jobs:
|
||||
- name: 🔔 Gotify Notification (Success)
|
||||
if: success()
|
||||
run: |
|
||||
curl -k -X POST "https://gotify.infra.mintel.me/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
||||
curl -k -X POST "https://gotify.infra.mintel.me/message" \
|
||||
-H "X-Gotify-Key: ${{ secrets.GOTIFY_TOKEN }}" \
|
||||
-F "title=✅ Deployment Success: ${{ github.repository }}" \
|
||||
-F "message=The deployment of ${{ github.repository }} (branch: ${{ github.ref }}) was successful.
|
||||
|
||||
@@ -233,7 +234,8 @@ jobs:
|
||||
- name: 🔔 Gotify Notification (Failure)
|
||||
if: failure()
|
||||
run: |
|
||||
curl -k -X POST "https://gotify.infra.mintel.me/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
||||
curl -k -X POST "https://gotify.infra.mintel.me/message" \
|
||||
-H "X-Gotify-Key: ${{ secrets.GOTIFY_TOKEN }}" \
|
||||
-F "title=❌ Deployment Failed: ${{ github.repository }}" \
|
||||
-F "message=The deployment of ${{ github.repository }} (branch: ${{ github.ref }}) failed!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user