Skip to content

Commit

Permalink
node depreciation again
Browse files Browse the repository at this point in the history
  • Loading branch information
ker2x committed Jul 10, 2024
1 parent 4669e0f commit 005f26d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build documentation

on:
push:
branches: ["master"]
branches: ["main"]
workflow_dispatch:

permissions:
Expand All @@ -12,20 +12,22 @@ permissions:
env:
INSTANCE: 'Writerside/d'
ARTIFACT: 'webHelpD2-all.zip'
DOCKER_VERSION: '241.16003'
ALGOLIA_ARTIFACT: 'algolia-indexes-D.zip'
ALGOLIA_APP_NAME: 'NLAGB2LZHU'
ALGOLIA_INDEX_NAME: 'MY_INDEX'
ALGOLIA_KEY: '${{ secrets.ALGOLIA_KEY }}'
CONFIG_JSON_PRODUCT: 'HI'
CONFIG_JSON_PRODUCT: 'DI'
CONFIG_JSON_VERSION: '1.0'
DOCKER_VERSION: '241.16003'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build docs using Writerside Docker builder
uses: JetBrains/writerside-github-action@v4
Expand All @@ -35,7 +37,7 @@ jobs:
docker-version: ${{ env.DOCKER_VERSION }}

- name: Save artifact with build results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docs
path: |
Expand All @@ -48,7 +50,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: docs
path: artifacts
Expand Down Expand Up @@ -103,4 +105,4 @@ jobs:
--product '${{env.CONFIG_JSON_PRODUCT}}' \
--version '${{env.CONFIG_JSON_VERSION}}' \
--index-directory algolia-indexes/ \
2>&1 | tee algolia-update-index-log.txt
2>&1 | tee algolia-update-index-log.txt

0 comments on commit 005f26d

Please sign in to comment.