Skip to content

Trigger AWS Amplify Deployment #123

Trigger AWS Amplify Deployment

Trigger AWS Amplify Deployment #123

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"