Skip to content

Commit 062796f

Browse files
committed
removed depreciated package
1 parent 494b7ab commit 062796f

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,22 @@ jobs:
2323
WEBHOOK_URL="${{ secrets.WEBHOOK_URL }}"
2424
WEBHOOK_SECRET="${{ secrets.WEBHOOK_SECRET }}"
2525
26+
# Validate secrets are configured
27+
if [ -z "$WEBHOOK_URL" ]; then
28+
echo "Error: WEBHOOK_URL secret is not configured for $ENVIRONMENT environment"
29+
echo "Please configure it in: Repository Settings → Environments → $ENVIRONMENT → Secrets"
30+
exit 1
31+
fi
32+
33+
if [ -z "$WEBHOOK_SECRET" ]; then
34+
echo "Error: WEBHOOK_SECRET secret is not configured for $ENVIRONMENT environment"
35+
echo "Please configure it in: Repository Settings → Environments → $ENVIRONMENT → Secrets"
36+
exit 1
37+
fi
38+
39+
echo "Triggering deployment webhook for $ENVIRONMENT..."
40+
echo "Webhook URL: $WEBHOOK_URL"
41+
2642
# Create payload
2743
PAYLOAD=$(cat <<EOF
2844
{
@@ -41,6 +57,7 @@ jobs:
4157
-H "X-GitHub-Event: push" \
4258
-H "X-Webhook-Secret: $WEBHOOK_SECRET" \
4359
-d "$PAYLOAD" \
44-
--fail --show-error
60+
--fail --show-error \
61+
-w "\nHTTP Status: %{http_code}\n"
4562
46-
echo "Deployment webhook triggered for $ENVIRONMENT"
63+
echo "Deployment webhook triggered successfully for $ENVIRONMENT"

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,12 @@
7777
"vitest": "^3.2.4",
7878
"vue-eslint-parser": "^10.1.3"
7979
},
80-
"overrides": {
80+
"overrides": {
8181
"inflight": "npm:@isaacs/inflight@^1.0.6",
8282
"glob": "^10.5.0",
8383
"rimraf": "^5.0.0",
8484
"lodash.isequal": "npm:lodash@^4.17.21",
8585
"fstream": "^2.0.1",
86-
"keygrip": "^1.1.1",
8786
"@oxc-parser/wasm": "^0.1.1"
8887
}
8988
}
File renamed without changes.

0 commit comments

Comments
 (0)