Modify deployment script in master.yml
Update deployment script in master.yml to include a comment about yml changes.
This commit is contained in:
parent
0a66889633
commit
8c95e489da
2
.github/workflows/master.yml
vendored
2
.github/workflows/master.yml
vendored
@ -36,5 +36,7 @@ jobs:
|
|||||||
username: ${{ secrets.SSH_USERNAME }}
|
username: ${{ secrets.SSH_USERNAME }}
|
||||||
password: ${{ secrets.SSH_PASSWORD }}
|
password: ${{ secrets.SSH_PASSWORD }}
|
||||||
script: |
|
script: |
|
||||||
|
cd /data
|
||||||
|
docker stack deploy -c api.yml api # yml没变化不会更新
|
||||||
docker service update --force --image registry.idwms.com/interfaceforward_api:latest itfx_interfaceforward_api # 一定要和service name一致
|
docker service update --force --image registry.idwms.com/interfaceforward_api:latest itfx_interfaceforward_api # 一定要和service name一致
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user