Skip to content

feat(ci): add deploy workflow #1

feat(ci): add deploy workflow

feat(ci): add deploy workflow #1

Workflow file for this run

name: Deploy to AWS Amplify
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
if: github.repository_owner == 'mqtt-ai'
steps:
- name: Trigger Amplify webhook
run: |
curl -X POST \
-H "Content-Type: application/json" \
-d {} \
"https://webhooks.amplify.us-west-1.amazonaws.com/prod/webhooks?id=${{ secrets.MQTT_AI_AMPLIFY_ID }}&token=${{ secrets.MQTT_AI_AMPLIFY_TOKEN }}&operation=startbuild"