Skip to content

Merge pull request #16 from ccoenen/history-1 #22

Merge pull request #16 from ccoenen/history-1

Merge pull request #16 from ccoenen/history-1 #22

Workflow file for this run

name: Publish docs to Wiki
on:
workflow_dispatch:
push:
paths:
- wiki/**
branches:
- master
env:
USER_TOKEN: ${{ secrets.WIKI_TOKEN }}
USER_NAME: "GitHub Actions"
USER_EMAIL: "[email protected]"
OWNER: input-leap
REPOSITORY_NAME: input-leap
jobs:
publish_docs_to_wiki:
name: Publish docs to Wiki
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Add Wiki as a remote
run: git remote add wiki https://$OWNER:[email protected]/$OWNER/$REPOSITORY_NAME.wiki
- name: Make sure to fetch remotes, unshallowed
run: git fetch --unshallow origin
- name: Mirror all commits to production Wiki remote.
run: git push --force wiki master:master