Skip to content

Updating local wiki. #2

Updating local wiki.

Updating local wiki. #2

Workflow file for this run

name: wiki
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
wiki:
runs-on: ubuntu-latest
steps:
- name: Checkout base code
uses: actions/checkout@v2
with:
path: base-code
- name: Checkout wiki code
uses: actions/checkout@v2
with:
repository: ${{github.repository}}.wiki
path: docs
- name: Push to wiki
run: |
cd docs
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git diff-index --quiet HEAD || git commit -m "Add changes" && git push