Trigger AWS Amplify Deployment #123
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger AWS Amplify Deployment | |
on: | |
workflow_run: | |
workflows: ["Scrape Data"] | |
types: | |
- completed | |
jobs: | |
trigger-amplify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Trigger AWS Amplify Deployment via Webhook | |
run: | | |
curl -X POST -d {} ${{ secrets.AMPLIFY_WEBHOOK_URL }} -H "Content-Type:application/json" |