Skip to content

Documentation

Documentation #154

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
tags: "v**"
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.SDQ_TOKEN }}
- uses: actions/checkout@v4
with:
repository: ${{ github.repository }}.wiki
path: wiki
token: ${{ secrets.SDQ_TOKEN }}
- name: Remove contents in Wiki
working-directory: wiki
run: ls -A1 | grep -v '.git' | xargs rm -r
- name: Copy Wiki from Docs folder
run: cp -r ./docs/. ./wiki
- name: Deploy 🚀
uses: stefanzweifel/git-auto-commit-action@v5
with:
repository: wiki