Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 780d2e1

Browse files
committed
fix: disable deploying staging/prod via webhooks
1 parent 83d095d commit 780d2e1

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

.github/workflows/ci.yml

+16-18
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@ name: CI
33
on:
44
# schedule:
55
# - cron: "0 */4 * * *" # every 4 hours
6-
# push:
7-
# branches:
8-
# - develop
9-
# - master
106
repository_dispatch:
11-
# types: [develop, master]
12-
types: [develop]
7+
types: [sync-project-data]
138

149
env:
1510
THIRD_PARTY_GIT_AUTHOR_EMAIL: [email protected]
@@ -94,18 +89,21 @@ jobs:
9489
exit 1
9590
fi
9691
97-
job-deploy-staging:
98-
runs-on: ubuntu-latest
99-
needs: [job-sync-project-data, job-checkout-and-build]
100-
env:
101-
STAGING_WEBHOOK: ${{ secrets.AMPLIFY_STAGING_WEBHOOK }}
102-
steps:
103-
- name: Call Amplify Staging Deploy
104-
run: |
105-
echo "Calling Amplify staging webhook"
106-
curl --silent --show-error --output /dev/null -X POST $STAGING_WEBHOOK -H "Content-Type:application/json"
107-
echo "**OUTPUT SUPPRESSED**"
108-
echo "Webhook call complete"
92+
#############################################################################################################
93+
## Note: Removing the webhook-driven deployment (for now) in favor of utilizing auto-builds on Amplify
94+
#############################################################################################################
95+
# job-deploy-staging:
96+
# runs-on: ubuntu-latest
97+
# needs: [job-sync-project-data, job-checkout-and-build]
98+
# env:
99+
# STAGING_WEBHOOK: ${{ secrets.AMPLIFY_STAGING_WEBHOOK }}
100+
# steps:
101+
# - name: Call Amplify Staging Deploy
102+
# run: |
103+
# echo "Calling Amplify staging webhook"
104+
# curl --silent --show-error --output /dev/null -X POST $STAGING_WEBHOOK -H "Content-Type:application/json"
105+
# echo "**OUTPUT SUPPRESSED**"
106+
# echo "Webhook call complete"
109107
# job-deploy-prod:
110108
# runs-on: ubuntu-latest
111109
# needs: [job-sync-project-data, job-checkout-and-build]

0 commit comments

Comments
 (0)