diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b772a8a6..34131481 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,7 +20,7 @@ jobs: - name: Run tox to build site run: tox - name: Deploy - if: github.event == 'push' + if: github.event_name == 'push' env: LEKTOR_DEPLOY_USERNAME: ${{ secrets.LEKTOR_DEPLOY_USERNAME }} LEKTOR_DEPLOY_PASSWORD: ${{ secrets.LEKTOR_DEPLOY_PASSWORD }}