Skip to content

Commit

Permalink
add build-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilue404 committed Mar 16, 2024
1 parent c50e076 commit 7bdbcc6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build documentation

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

env:
INSTANCE: 'Writerside/page'
ARTIFACT: 'webHelpPAGE2-all.zip'
DOCKER_VERSION: '233.14938'

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

- 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@v3
with:
name: docs
path: |
artifacts/${{ env.ARTIFACT }}
retention-days: 7

0 comments on commit 7bdbcc6

Please sign in to comment.