fix run prod timeout
This commit is contained in:
@@ -52,13 +52,13 @@ jobs:
|
|||||||
|
|
||||||
# wait for 120 seconds
|
# wait for 120 seconds
|
||||||
- name: Wait for image propagation
|
- name: Wait for image propagation
|
||||||
if: steps.check.outputs.is_prod == 'true'
|
|
||||||
run: |
|
run: |
|
||||||
echo "Waiting 120 seconds for image to propagate in registry..."
|
echo "Waiting 120 seconds for image to propagate in registry..."
|
||||||
sleep 120
|
sleep 120
|
||||||
|
|
||||||
- name: Deploy to production server
|
- name: Deploy to production server
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
|
command_timeout: 30m
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.PROD_SSH_HOST }}
|
host: ${{ secrets.PROD_SSH_HOST }}
|
||||||
username: ${{ secrets.PROD_SSH_USER }}
|
username: ${{ secrets.PROD_SSH_USER }}
|
||||||
|
|||||||
Reference in New Issue
Block a user