From 7623fc552e2b73d3b1bf5b7360a1319bbfe0e820 Mon Sep 17 00:00:00 2001 From: iCrawl Date: Mon, 22 Aug 2022 12:11:45 +0200 Subject: [PATCH] ci: don't double check inputs --- .github/workflows/documentation.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 7fd1fb03e..b7b964e66 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -123,14 +123,14 @@ jobs: path: 'out' - name: Extract package and semver from tag - if: ${{ github.event.inputs.ref_type == 'tag' || env.BRANCH_OR_TAG == 'tag' }} + if: ${{ env.BRANCH_OR_TAG == 'tag' }} id: extract-tag uses: ./packages/actions/src/formatTag with: tag: ${{ env.BRANCH_NAME }} - name: Move docs to correct directory - if: ${{ (github.event.inputs.ref_type == 'tag' || env.BRANCH_OR_TAG == 'tag') && matrix.package == steps.extract-tag.outputs.package }} + if: ${{ env.BRANCH_OR_TAG == 'tag' && matrix.package == steps.extract-tag.outputs.package }} env: PACKAGE: ${{ steps.extract-tag.outputs.package }} SEMVER: ${{ steps.extract-tag.outputs.semver }} @@ -142,7 +142,7 @@ jobs: fi - name: Move docs to correct directory - if: ${{ github.event.inputs.ref_type == 'branch' || env.BRANCH_OR_TAG == 'branch' }} + if: ${{ env.BRANCH_OR_TAG == 'branch' }} env: PACKAGE: ${{ matrix.package }} run: |