From 693064b2fd32b288bb3f9eb61da5164f8cb9ddf8 Mon Sep 17 00:00:00 2001 From: Shubham Patil Date: Wed, 11 Jan 2023 23:45:58 +0530 Subject: [PATCH] Fix if check in the launchpad workflow --- .github/workflows/pages.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 0999967ab..c9251711e 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -39,7 +39,7 @@ concurrency: jobs: Build: # Disable the job in forks - if: ${{ github.repository_owner == 'espressif' }} + if: ${{ github.repository_owner == 'espressif' && github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest container: @@ -49,8 +49,6 @@ jobs: build-dir: ['examples/light', 'examples/light_switch'] targets: ['esp32', 'esp32c3'] - if: ${{ github.event.workflow_run.conclusion == 'success' }} - steps: - run: mkdir -p images - name: build application