From b5f89b744c5972faef98e026cd0dbad62c310672 Mon Sep 17 00:00:00 2001 From: luo Date: Mon, 26 Oct 2026 14:29:18 +0800 Subject: [PATCH] ci: switch production deployment to iteration/october --- .gitea/workflows/deploy.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 43c729b..0fcb030 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -3,7 +3,7 @@ name: 构建并部署前端到生产环境 on: push: branches: - - iteration/august + - iteration/october - dev - test @@ -28,7 +28,7 @@ jobs: - name: 设置镜像标签 id: tag run: | - if [ "${{ github.ref }}" = "refs/heads/iteration/august" ]; then + if [ "${{ github.ref }}" = "refs/heads/iteration/october" ]; 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/august 分支) - if: github.ref == 'refs/heads/iteration/august' + - name: 部署到本地(仅 iteration/october 分支) + if: github.ref == 'refs/heads/iteration/october' run: | mkdir -p ${{ env.DEPLOY_DIR }}