Skip to content

Update pre-commit configuration and increase memory allocation; remov… #10

Update pre-commit configuration and increase memory allocation; remov…

Update pre-commit configuration and increase memory allocation; remov… #10

Workflow file for this run

name: Fly Deploy
on:
push:
branches:
- main
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
PRODUCTION_URL: 'https://html-reprs.fly.dev/docs'
STAGING_URL: 'https://html-reprs.fly.dev/docs'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
environment:
name: ${{ github.ref == 'refs/heads/main' && 'production' || 'staging' }}
url: ${{ github.ref == 'refs/heads/main' && env.PRODUCTION_URL || env.STAGING_URL }}
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only