Run gunicorn directly as the container CMD (#117) (#123) #129
This file contains hidden or 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: ANNA grows old | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
| jobs: | |
| deploy: | |
| name: ANNA grows old | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| token: ${{ secrets.ACCESS_TOKEN_FOR_CHECKOUT_SUBMODULE }} | |
| submodules: true | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - uses: abatilo/actions-poetry@v2 | |
| with: | |
| poetry-version: 1.5.1 | |
| - name: ready | |
| run: poetry install --with ci | |
| - uses: superfly/flyctl-actions/setup-flyctl@master | |
| - run: flyctl deploy --config .meta/deploy/fly.toml --dockerfile .meta/deploy/Dockerfile --remote-only |