diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml new file mode 100644 index 0000000..7e54a92 --- /dev/null +++ b/.github/workflows/deploy-production.yml @@ -0,0 +1,14 @@ +name: Deploy Production + +on: + push: + branches: ['main'] + +jobs: + amplify-webhook: + runs-on: ubuntu-latest + env: + AMPLIFY_WEBHOOK_URL: ${{secrets.AMPLIFY_WEBHOOK_URL}} + steps: + - uses: actions/checkout@v2 + - run: curl -X POST -d {} $AMPLIFY_WEBHOOK_URL -H "Content-Type:application/json"