Skip to content

Commit 35def94

Browse files
committed
revert with extra flags
1 parent 21efe5b commit 35def94

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/deploy-website.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ jobs:
1717

1818
- name: Trigger Netlify build 🚀
1919
env:
20-
NETLIFY_WEBHOOK: ${{ secrets.NETLIFY_WEBHOOK }}
21-
run: |
22-
# Extra safety: mask the value in logs even if it somehow appears
23-
echo "::add-mask::$NETLIFY_WEBHOOK"
24-
25-
# Hit the hook without printing URL or body; fail on HTTP errors
26-
curl -fsS -X POST "$NETLIFY_WEBHOOK" -o /dev/null
20+
WEBHOOK: ${{ secrets.NETLIFY_WEBHOOK }}
21+
22+
with:
23+
# Use Actions interpolation (not ${WEBHOOK}). GitHub will mask the secret in logs.
24+
# -f: fail on HTTP errors, -sS: silent but show errors, -o /dev/null: drop body
25+
args: -fsS -X POST ${{ env.WEBHOOK }} -o /dev/null

0 commit comments

Comments
 (0)