From 1baea2b24f2d916b283e6c6532319a48c31d57d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E8=BF=9B?= Date: Fri, 6 Nov 2026 22:18:29 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E6=94=B9=E7=94=B1=20iteration/8-11=20=E5=88=86=E6=94=AF?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=EF=BC=8C=E5=AF=B9=E6=8E=A5=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=20Iteration/8-11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 0fcb030..8c3d7c3 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -1,9 +1,9 @@ -name: 构建并部署前端到生产环境 +name: 构建并部署前端到测试环境 on: push: branches: - - iteration/october + - iteration/8-11 - dev - test @@ -28,7 +28,7 @@ jobs: - name: 设置镜像标签 id: tag run: | - if [ "${{ github.ref }}" = "refs/heads/iteration/october" ]; then + if [ "${{ github.ref }}" = "refs/heads/iteration/8-11" ]; then echo "tag=latest" >> $GITHUB_OUTPUT elif [ "${{ github.ref }}" = "refs/heads/dev" ]; then echo "tag=dev" >> $GITHUB_OUTPUT @@ -52,8 +52,8 @@ jobs: docker push ${{ env.IMAGE_NAME }}:${{ steps.tag.outputs.tag }} docker push ${{ env.IMAGE_NAME }}:${{ github.sha }} - - name: 部署到本地(仅 iteration/october 分支) - if: github.ref == 'refs/heads/iteration/october' + - name: 部署到测试环境(仅 iteration/8-11 分支) + if: github.ref == 'refs/heads/iteration/8-11' run: | mkdir -p ${{ env.DEPLOY_DIR }}