From ea26e5a38a4e475d5fd589b4323919d2d611f8ca Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Mon, 4 Mar 2024 20:10:56 +0000 Subject: [PATCH] Fix workflow Signed-off-by: Andrew W. Harn --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2e7c960..4f8b93c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -135,6 +135,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gh release download ${{ github.event.inputs.zowe-version }} -p zowe-${{ github.event.inputs.zowe-version }}-WebHelp.zip + rm -rf docs/${{ github.event.inputs.zowe-version }} mkdir -p docs/${{ github.event.inputs.zowe-version }} unzip -nqq zowe-${{ github.event.inputs.zowe-version }}-WebHelp.zip -d docs/${{ github.event.inputs.zowe-version }} mv docs/${{ github.event.inputs.zowe-version }}/zowe-${{ github.event.inputs.zowe-version }}-WebHelp/* docs/${{ github.event.inputs.zowe-version }}/. @@ -185,7 +186,9 @@ jobs: ref: 'gh-pages' - name: Create directory - run: mkdir -p docs/pr-${{github.event.number}} + run: | + rm -rf docs/pr-${{github.event.number}} + mkdir -p docs/pr-${{github.event.number}} - name: Get Artifact uses: actions/download-artifact@v4