Skip to content

Add EXPOSE to Dockerfile (#65) #137

Add EXPOSE to Dockerfile (#65)

Add EXPOSE to Dockerfile (#65) #137

Workflow file for this run

name: Fly Deploy
on:
push:
branches:
- main
jobs:
pre-deploy-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test with python ${{ matrix.python-version }}
run: uv run --frozen pytest
deploy:
name: Deploy app
runs-on: ubuntu-latest
needs: pre-deploy-test
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}