Skip to content

chore: optimize gh actions #4

chore: optimize gh actions

chore: optimize gh actions #4

name: "[Pages] Build and deploy Writerside documentation to GitHub Pages"
on:
push:
branches:
- main
paths: [ 'Writerside/**/*' ]
workflow_dispatch:
permissions:
contents: read
id-token: write
pages: write
jobs:
pages:
runs-on: ubuntu-latest
environment:
name: github-pages
steps:
- name: Build and deploy to GitHub Pages
uses: xooooooooox/writerside-action@main
with:
instance: 'Writerside/radp'
docker_version: '243.22562'
- name: Capture Deployment URL
run: |
echo "Deployment URL: ${{ steps.deployment.outputs.page_url }}"
shell: bash