Skip to content

Add Wiki sync workflow #10

Add Wiki sync workflow

Add Wiki sync workflow #10

Workflow file for this run

name: Sync Wiki
on:
push:
branches:
- wiki/master
workflow_dispatch:
jobs:
wiki-sync:
name: Sync Wiki
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: wiki/master
fetch-depth: 100
- name: Add Wiki remote
run: |
git remote add wikirepo ${{ github.server_url }}/${{ github.repository }}.wiki.git
git fetch wikirepo
- name: 'Push Wiki branch to Wiki repo'
run: |
git push wikirepo wiki/master:master