diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index e5c78a8..6c6d475 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -5,6 +5,7 @@ image: python:3.10 jobs: test: + name: Test runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -24,3 +25,13 @@ jobs: - name: Type check run: | mypy ./code + deploy: + name: Deploy + runs-on: ubuntu-latest + needs: [test] + if: gitea.ref == 'refs/heads/release' + steps: + - name: Build container + run: | + echo "building container" +