From ba7349082bed0efb056ad0f9df4f16997a0ca428 Mon Sep 17 00:00:00 2001 From: Holden Date: Wed, 17 Apr 2024 13:47:39 -0400 Subject: [PATCH] CI: Fix Docs Deploy --- .github/workflows/docs_deploy.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/docs_deploy.yml b/.github/workflows/docs_deploy.yml index 8a25b195bc2..6c5403aa62e 100644 --- a/.github/workflows/docs_deploy.yml +++ b/.github/workflows/docs_deploy.yml @@ -15,14 +15,9 @@ on: workflow_dispatch: -env: - DOCS_DEPLOY: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged) }} - jobs: build: runs-on: ubuntu-latest - outputs: - DOCS_DEPLOY: ${{ env.DOCS_DEPLOY }} steps: - name: Checkout uses: actions/checkout@v4 @@ -42,7 +37,6 @@ jobs: touch docs/.vitepress/dist/.nojekyll - name: Upload artifact - if: env.DOCS_DEPLOY uses: actions/upload-artifact@v4 with: name: qgc_docs_build @@ -50,9 +44,9 @@ jobs: retention-days: 1 deploy: + if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged) }} needs: build runs-on: ubuntu-latest - if: needs.build.outputs.DOCS_DEPLOY steps: - name: Download Artifact