Skip to content

Update build-docs.yml #4

Update build-docs.yml

Update build-docs.yml #4

Workflow file for this run

name: Build documentation
on:
push:
branches: ["main"]
workflow_dispatch:
env:
INSTANCE: 'Writerside/imgal'
ARTIFACT: 'webHelpHI2-all.zip'
DOCKER_VERSION: '241.15989'
jobs:
build:
runs-on: self-hosted
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
with:
instance: ${{ env.INSTANCE }}
artifact: ${{ env.ARTIFACT }}
docker-version: ${{ env.DOCKER_VERSION }}
- name: Save artifact with build results
uses: actions/upload-artifact@v4
with:
name: docs
path: |
artifacts/${{ env.ARTIFACT }}
retention-days: 7