Skip to content

feat(resource): allow adding multiple resource metadata sharing a com… #20

feat(resource): allow adding multiple resource metadata sharing a com…

feat(resource): allow adding multiple resource metadata sharing a com… #20

Workflow file for this run

name: Build documentation
on:
push:
branches: ["main"]
workflow_dispatch: ~
env:
INSTANCE: 'docs/AS'
ARTIFACT: 'webHelpAS2-all.zip'
DOCKER_VERSION: '243.21565'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build Writerside docs using Docker
uses: JetBrains/writerside-github-action@v4
with:
instance: ${{ env.INSTANCE }}
artifact: ${{ env.ARTIFACT }}
docker-version: ${{ env.DOCKER_VERSION }}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: docs
path: |
artifacts/${{ env.ARTIFACT }}
retention-days: 7
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
contents: read
pages: write
id-token: write
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: docs
- name: Unzip artifact
run: unzip -O UTF-8 -qq ${{ env.ARTIFACT }} -d dir
- name: Setup Pages
uses: actions/configure-pages@v4.0.0
- name: Upload artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: dir
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.4