Skip to content

Merge pull request #1781 from jplag/develop #5

Merge pull request #1781 from jplag/develop

Merge pull request #1781 from jplag/develop #5

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_DEV_DEPLOY_TOKEN }}
- uses: actions/checkout@v4
with:
repository: ${{ github.repository }}.wiki
path: wiki
token: ${{ secrets.SDQ_DEV_DEPLOY_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