diff --git a/.github/workflows/deploy-docker.yml b/.github/workflows/deploy-docker.yml index a6afa31..736b292 100644 --- a/.github/workflows/deploy-docker.yml +++ b/.github/workflows/deploy-docker.yml @@ -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