Skip to content

master

master #1

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" # MUST MATCH your folder name exactly
artifact: "webHelpWriterside2.zip"
- name: Unzip artifact
run: unzip -q webHelpWriterside2.zip -d webHelpWriterside2
- name: Upload artifact to GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: "webHelpWriterside2" # 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