Skip to content

Commit 97e8abf

Browse files
committed
ci: fix deploy-vps.yml — add DEPLOY_ENABLED guard, remove broken Tailscale step
1 parent b25a864 commit 97e8abf

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/deploy-vps.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,12 @@ on:
88

99
jobs:
1010
deploy:
11-
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
11+
if: >-
12+
(github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success')
13+
&& vars.DEPLOY_ENABLED == 'true'
1214
name: Deploy OmniRoute to VPS
1315
runs-on: ubuntu-latest
1416
steps:
15-
- name: Install Tailscale
16-
uses: tailscale/github-action@v3
17-
with:
18-
oauth-client-id: ""
19-
oauth-secret: ""
20-
tags: tag:ci-deploy
21-
continue-on-error: true
22-
2317
- name: Deploy via SSH
2418
uses: appleboy/ssh-action@v1
2519
with:

0 commit comments

Comments
 (0)