Skip to content

Merge pull request #1576 from jplag/develop #3

Merge pull request #1576 from jplag/develop

Merge pull request #1576 from jplag/develop #3

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