Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CodexAdrian committed Jan 4, 2024
1 parent edc7a47 commit abc2f3f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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
Expand All @@ -72,7 +72,7 @@ jobs:
- name: Test documentation
uses: JetBrains/writerside-checker-action@v1
with:
instance: ${{ vars.INSTANCE }}
instance: ${{ env.INSTANCE }}

deploy:
environment:
Expand All @@ -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
Expand Down

0 comments on commit abc2f3f

Please sign in to comment.