There was an error while loading. Please reload this page.
1 parent b25a864 commit 97e8abfCopy full SHA for 97e8abf
1 file changed
.github/workflows/deploy-vps.yml
@@ -8,18 +8,12 @@ on:
8
9
jobs:
10
deploy:
11
- if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
+ if: >-
12
+ (github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success')
13
+ && vars.DEPLOY_ENABLED == 'true'
14
name: Deploy OmniRoute to VPS
15
runs-on: ubuntu-latest
16
steps:
- - name: Install Tailscale
- 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
-
23
- name: Deploy via SSH
24
uses: appleboy/ssh-action@v1
25
with:
0 commit comments