Skip to content

Merge pull request #18 from ammar-ahmed22/development #15

Merge pull request #18 from ammar-ahmed22/development

Merge pull request #18 from ammar-ahmed22/development #15

Workflow file for this run

name: Deploy to Fly.io
"on":
push:
branches:
- production
workflow_dispatch:
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
send_notif:
needs: deploy
name: Send SMS Notification
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ammar-ahmed22/[email protected]
with:
TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
TWILIO_AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN }}
TWILIO_PHONE_NUMBER: ${{ secrets.TWILIO_PHONE_NUMBER }}
PHONE_NUMBER: "+14168364386"
withRepoOwner: false
note: "API is live at: https://api.ammarahmed.ca"