# Example build & deploy workflow for a Python fullstack service # Place in your repo at: .gitea/workflows/build-deploy.yml name: Build & Deploy on: push: branches: [main] concurrency: group: deploy-${{ gitea.ref }} cancel-in-progress: true jobs: ci: uses: ./.gitea/workflows/ci.yml build: needs: ci uses: wectrl-net/ci-templates/.gitea/workflows/build-push.yaml@main with: image-name: git.wectrl.net/wectrl-net/h1per-pms secrets: REGISTRY_USER: ${{ secrets.REGISTRY_USER }} REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} deploy: needs: build uses: wectrl-net/ci-templates/.gitea/workflows/deploy-k8s.yaml@main with: image-name: git.wectrl.net/wectrl-net/h1per-pms service-name: h1per-pms deploy-paths: "saas/h1per/backend/deployment.yaml" secrets: GIT_USER: ${{ secrets.GIT_USER }} GIT_TOKEN: ${{ secrets.GIT_TOKEN }}