fix: revert deploy workflow, secrets already configured

This commit is contained in:
asepharyana
2026-07-10 07:16:16 +07:00
parent 9a003436b4
commit ef7e708fd6
+1 -6
View File
@@ -29,12 +29,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 30
if: >
(github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.workflow_run.conclusion == 'success')
&& secrets.SSH_PRIVATE_KEY != ''
&& secrets.VPS_HOST != ''
&& secrets.VPS_USER != ''
&& secrets.VPS_TARGET_DIR != ''
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout repository
uses: actions/checkout@v6