Skip to content

Commit

Permalink
Create documentation deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
e5l authored Jun 20, 2024
1 parent d0bb6f0 commit ab521fe
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build documentation website

on: [workflow_run]

permissions:
id-token: write

env:
INSTANCE: 'Writerside/hi'
ARTIFACT: 'webHelpHI2-all.zip'
DOCKER_VERSION: '241.16003'

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 }}
location: documentation-website

- name: Remove docs folder
run: rm -f docs

- name: Unzip artifact
run: unzip -O UTF-8 -qq '${{ env.ARTIFACT }}' -d docs

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6

0 comments on commit ab521fe

Please sign in to comment.