Skip to content

Commit

Permalink
modify cd concurency config
Browse files Browse the repository at this point in the history
  • Loading branch information
SchwarzSail committed Jan 6, 2025
1 parent 617884d commit 5d06e52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
runs-on: ubuntu-latest
needs: build # 确保在 build 作业完成后再执行

concurrency: # 限制这个 job 只能同时运行一个
group: ${{ github.event.inputs.service }} # 使用服务名作为组标识符
cancel-in-progress: false # 允许多个相同服务的作业排队
concurrency:
group: global-deployment-workflow
cancel-in-progress: false # 后续的 workflow 处于 pending

steps:
- name: SSH and deploy on server
Expand Down

0 comments on commit 5d06e52

Please sign in to comment.