ci: fix deploy-vps.yml — add DEPLOY_ENABLED guard, remove broken Tailscale step

This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-02-26 03:21:13 -03:00
parent 96114bf92e
commit 428a8490f8

View File

@@ -8,18 +8,12 @@ on:
jobs:
deploy:
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
if: >-
(github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success')
&& vars.DEPLOY_ENABLED == 'true'
name: Deploy OmniRoute to VPS
runs-on: ubuntu-latest
steps:
- name: Install Tailscale
uses: tailscale/github-action@v3
with:
oauth-client-id: ""
oauth-secret: ""
tags: tag:ci-deploy
continue-on-error: true
- name: Deploy via SSH
uses: appleboy/ssh-action@v1
with: