File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ jobs:
123123 deploy :
124124 needs : docker-build
125125 runs-on : ubuntu-latest
126- if : github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
126+ if : github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ main' || github.ref == 'refs/heads/master'
127127 steps :
128128 - name : SSH Deploy
129129 uses : appleboy/ssh-action@v0.1.10
@@ -147,10 +147,10 @@ jobs:
147147 # 可以在这里添加停止旧容器、启动新容器的命令
148148 # 例如:docker-compose up -d 或 kubectl apply -f k8s-deployment.yaml
149149
150- - name : Manual approval
151- uses : trstringer/manual-approval@v2
152- with :
153- secret : ${{ github.token }}
154- approvers : your-github-username
155- minimum-approvals : 1
156- exclude-authors : github-actions[bot]
150+ # - name: Manual approval
151+ # uses: trstringer/manual-approval@v2
152+ # with:
153+ # secret: ${{ github.token }}
154+ # approvers: your-github-username
155+ # minimum-approvals: 1
156+ # exclude-authors: github-actions[bot]
You can’t perform that action at this time.
0 commit comments