From 852268f0697c99f6c6e7eef2b2d7eb53ff4f2d44 Mon Sep 17 00:00:00 2001 From: XiaoXia Bot Date: Wed, 15 Jul 2026 20:53:38 +0800 Subject: [PATCH] =?UTF-8?q?debug(ci):=20v2=E6=B5=8B=E8=AF=95=20-=20?= =?UTF-8?q?=E5=A4=8D=E5=88=B6ci-build=E5=AE=8C=E6=95=B4=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/debug-build2.yml | 64 +++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 .gitea/workflows/debug-build2.yml diff --git a/.gitea/workflows/debug-build2.yml b/.gitea/workflows/debug-build2.yml new file mode 100644 index 000000000..7198e83a6 --- /dev/null +++ b/.gitea/workflows/debug-build2.yml @@ -0,0 +1,64 @@ +name: Debug Build Schedule v2 - Copy CI Build Structure +on: + push: + branches: + - debug/ci-build-schedule +concurrency: + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} + cancel-in-progress: false +jobs: + build-staging: + name: Build Staging ${{ matrix.service_display }} Image + runs-on: host + timeout-minutes: ${{ matrix.timeout }} + if: github.event_name == "push" && github.ref_name == "debug/ci-build-schedule" + strategy: + fail-fast: false + matrix: + include: + - service: api + service_display: API + timeout: 10 + - service: worker + service_display: Worker + timeout: 10 + - service: web + service_display: Web + timeout: 10 + steps: + - name: Step 1 + shell: sh + run: echo "Step 1" + - name: Step 2 + shell: sh + run: echo "Step 2" + - name: Step 3 + shell: sh + run: echo "Step 3" + deploy-staging: + name: Deploy Staging + runs-on: host + timeout-minutes: 15 + if: github.event_name == "push" && github.ref_name == "debug/ci-build-schedule" + needs: + - build-staging + steps: + - name: Deploy + shell: sh + run: echo "Deploy" + build-production: + name: Build Production ${{ matrix.service_display }} Image + runs-on: host + timeout-minutes: ${{ matrix.timeout }} + if: startsWith(github.ref, "refs/tags/v") + strategy: + fail-fast: false + matrix: + include: + - service: api + service_display: API + timeout: 10 + steps: + - name: Step 1 + shell: sh + run: echo "Step 1"