diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7a791e8..a2e94ae 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ env: # Replace HI with the ID of the instance in capital letters ARTIFACT: webHelpHI2-all.zip # Writerside docker image version - DOCKER_VERSION: 232.10275 + DOCKER_VERSION: 233.4797 # Add the variable below to upload Algolia indexes # Replace HI with the ID of the instance in capital letters ALGOLIA_ARTIFACT: algolia-indexes-HI.zip @@ -35,16 +35,16 @@ jobs: - name: Build Writerside docs using Docker uses: JetBrains/writerside-github-action@v4 with: - instance: ${{ vars.INSTANCE }} - artifact: ${{ vars.ARTIFACT }} - docker-version: ${{ vars.DOCKER_VERSION }} + instance: ${{ env.INSTANCE }} + artifact: ${{ env.ARTIFACT }} + docker-version: ${{ env.DOCKER_VERSION }} - name: Upload documentation uses: actions/upload-artifact@v3 with: name: docs path: | - artifacts/${{ vars.ARTIFACT }} + artifacts/${{ env.ARTIFACT }} artifacts/report.json retention-days: 7 @@ -53,7 +53,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: algolia-indexes - path: artifacts/${{ vars.ALGOLIA_ARTIFACT }} + path: artifacts/${{ env.ALGOLIA_ARTIFACT }} retention-days: 7 # Add the job below and artifacts/report.json on Upload documentation step above if you want to fail the build when documentation contains errors @@ -72,7 +72,7 @@ jobs: - name: Test documentation uses: JetBrains/writerside-checker-action@v1 with: - instance: ${{ vars.INSTANCE }} + instance: ${{ env.INSTANCE }} deploy: environment: @@ -88,7 +88,7 @@ jobs: name: docs - name: Unzip artifact - run: unzip -O UTF-8 -qq ${{ vars.ARTIFACT }} -d dir + run: unzip -O UTF-8 -qq ${{ env.ARTIFACT }} -d dir - name: Setup Pages uses: actions/configure-pages@v2