1 parent 9efd762 commit 5f55d32Copy full SHA for 5f55d32
1 file changed
.github/workflows/deploy-vps.yml
@@ -16,11 +16,12 @@ jobs:
16
deploy:
17
name: Deploy to VPS
18
runs-on: ubuntu-latest
19
- if: ${{ (github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success') && secrets.VPS_HOST != '' && secrets.VPS_USER != '' && secrets.VPS_SSH_KEY != '' }}
+ if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
20
timeout-minutes: 10
21
22
steps:
23
- name: Deploy via SSH
24
+ if: ${{ secrets.VPS_HOST != '' && secrets.VPS_USER != '' && secrets.VPS_SSH_KEY != '' }}
25
uses: appleboy/ssh-action@v1.0.3
26
with:
27
host: ${{ secrets.VPS_HOST }}
0 commit comments