Modify deployment script in master.yml

Update deployment script in master.yml to include a comment about yml changes.
This commit is contained in:
xiaoliutral 2026-02-04 14:34:33 +08:00 committed by GitHub
parent 0a66889633
commit 8c95e489da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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一致