4242 echo "run.head_sha: ${{ github.event.workflow_run.head_sha }}"
4343
4444 - name : Checkout
45- uses : actions/checkout@v4
45+ uses : actions/checkout@v5
4646
4747 - name : Derive IMAGE_TAG (from workflow_run or manual)
4848 shell : bash
@@ -168,7 +168,7 @@ jobs:
168168 fi
169169
170170 - name : Ensure remote dir exists
171- uses : appleboy/ssh-action@v1.0.3
171+ uses : appleboy/ssh-action@v1.2.2
172172 env :
173173 DEPLOY_DIR : ${{ steps.targetdir.outputs.DEPLOY_DIR_FINAL }}
174174 with :
@@ -195,7 +195,7 @@ jobs:
195195 test -d deploy_bundle/init/mongo
196196
197197 - name : Pre-clean monitoring paths on server
198- uses : appleboy/ssh-action@v1.0.3
198+ uses : appleboy/ssh-action@v1.2.2
199199 with :
200200 host : ${{ secrets.SSH_HOST }}
201201 username : ${{ secrets.SSH_USER }}
@@ -216,7 +216,7 @@ jobs:
216216 done
217217
218218 - name : Upload bundle to server
219- uses : appleboy/scp-action@v0.1.7
219+ uses : appleboy/scp-action@v1.0.0
220220 with :
221221 host : ${{ secrets.SSH_HOST }}
222222 username : ${{ secrets.SSH_USER }}
@@ -228,7 +228,7 @@ jobs:
228228 strip_components : 1
229229
230230 - name : Verify files exist on server (debug)
231- uses : appleboy/ssh-action@v1.0.3
231+ uses : appleboy/ssh-action@v1.2.2
232232 with :
233233 host : ${{ secrets.SSH_HOST }}
234234 username : ${{ secrets.SSH_USER }}
@@ -238,7 +238,7 @@ jobs:
238238 ls -la '${{ steps.targetdir.outputs.DEPLOY_DIR_FINAL }}'
239239
240240 - name : Verify .env identical & run deploy
241- uses : appleboy/ssh-action@v1.0.3
241+ uses : appleboy/ssh-action@v1.2.2
242242 env :
243243 IMAGE_TAG : ${{ env.IMAGE_TAG }}
244244 ENV_SHA : ${{ env.ENV_SHA }}
0 commit comments