diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 66ea3e7..ee8fe1f 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -49,7 +49,7 @@ jobs: # - STATIC_WEBSITE_PATH env: HAVE_REQUIRED_SECRETS: ${{ secrets.SSH_KNOWN_HOSTS != '' && secrets.PRIVATE_SSH_KEY != '' && secrets.CI_USER_NAME != '' && secrets.STATIC_WEBSITE_PATH != '' }} - if: ${{ github.event_name == 'push' && env.HAVE_REQUIRED_SECRETS == 'true'}} + if: env.HAVE_REQUIRED_SECRETS == 'true' runs-on: ubuntu-latest steps: - name: 🛠️ Setup build directory