Skip to content

wiki -> FAQ

wiki -> FAQ #100

Workflow file for this run

name: Deploy to Fly
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
# This step checks out a copy of your repository.
- uses: actions/checkout@v2
# This step runs `flyctl deploy`.
- uses: superfly/flyctl-actions@master
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
with:
args: "deploy"
notify:
name: Notify
runs-on: ubuntu-latest
needs:
- deploy
if: ${{ always() }}
steps:
- uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.github_token }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}