install whitenoise to deal with static files on render #191
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
name: Deploy / Production | |
on: | |
push: | |
branches: | |
- production | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
jobs: | |
deploy: | |
environment: | |
name: production | |
url: https://leftbookclub.com | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- run: flyctl deploy --config fly.production.toml --remote-only | |
- run: flyctl deploy --config fly.worker.production.toml --remote-only |