Skip to content

Build changes

Build changes #2

Workflow file for this run

name: Publish Writerside Docs to GitHub Pages
on:
push:
branches:
- master # update if your default branch is different
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Writerside docs
uses: JetBrains/writerside-github-action@v4
with:
instance: "Writerside/infinity" # Format: <module>/<product> where product ID is from infinity.tree
artifact: "webHelpInfinity2.zip"
- name: Unzip artifact
run: unzip -q webHelpInfinity2.zip -d webHelpInfinity2
- name: Upload artifact to GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: "webHelpInfinity2" # Folder inside the produced ZIP
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4