Support Twitter Cards for the article page #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/ | |
name: Fly.io Demo Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy app | |
runs-on: ubuntu-latest | |
concurrency: deploy-group # optional: ensure only one action runs at a time | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
MYSQL_CONNECTION_URL: ${{ secrets.MYSQL_CONNECTION_URL }} | |
PLAUSIBLE_DOMAIN: ${{ secrets.PLAUSIBLE_DOMAIN }} | |
run: | | |
flyctl secrets set --stage MYSQL_CONNECTION_URL=${MYSQL_CONNECTION_URL} PLAUSIBLE_DOMAIN=${PLAUSIBLE_DOMAIN} | |
flyctl deploy --remote-only |