From a387e5894f023f3f09d5354ff311d67957d823a7 Mon Sep 17 00:00:00 2001 From: brb Date: Tue, 11 Jul 2023 12:51:35 +0200 Subject: [PATCH] included deploy step for release branch --- .gitea/workflows/pipeline.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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" +