Add -Ss to curl command
Eric Case
3 years ago
50 | 50 | - name: Notify if failure |
51 | 51 | if: ${{ failure() }} |
52 | 52 | run: | |
53 | curl -X POST -H 'Content-type: application/json' --data '{"text":"❌ ZoneDB update failed."}' ${{ secrets.SLACK_WEBHOOK_URL_GH_ACTIONS }} | |
53 | curl -Ss -X POST -H 'Content-type: application/json' --data '{"text":"❌ ZoneDB update failed."}' ${{ secrets.SLACK_WEBHOOK_URL_GH_ACTIONS }} | |
54 | 54 | |
55 | 55 | - name: Notify if success |
56 | 56 | if: ${{ success() }} |
57 | 57 | run: | |
58 | curl -X POST -H 'Content-type: application/json' --data '{"text":"✅ ZoneDB updated."}' ${{ secrets.SLACK_WEBHOOK_URL_GH_ACTIONS }} | |
58 | curl -Ss -X POST -H 'Content-type: application/json' --data '{"text":"✅ ZoneDB updated."}' ${{ secrets.SLACK_WEBHOOK_URL_GH_ACTIONS }} |