From 1d9a2edb06d128a8de6027ad80fa1f88ff20615d Mon Sep 17 00:00:00 2001 From: Johannes Koester Date: Thu, 4 Jul 2024 14:25:23 +0200 Subject: [PATCH] fix pr check --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 58a52f6..fafd1b6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,8 +24,8 @@ jobs: filterOutClosed: true - run: | - echo "Current PR: ${{ steps.pr.outputs.pr_found }}" - echo "Current branch: ${{ github.ref }}" + echo "is PR: ${{ steps.pr.outputs.pr_found }}" + echo "current branch: ${{ github.ref }}" - name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@v1.3.0 @@ -104,7 +104,7 @@ jobs: path: report.zip - name: Trigger homepage build - if: ${{ (steps.pr.outputs.pr_found != 'true') && (github.ref == 'main') }} + if: ${{ (steps.pr.outputs.pr_found != 'true') && (github.ref == 'refs/heads/main') }} uses: benc-uk/workflow-dispatch@v1 with: workflow: deploy-page