unleashed-firmware/.github/workflows/publish_wiki.yml
Henry 32cbe87b10
Added README.md to wiki/Home.md (#65)
Co-authored-by: Henry Pauli <henry@mixict.nl>
2020-08-28 21:33:33 +03:00

24 lines
483 B
YAML

name: Publish the wiki
on:
push:
branches: [ master ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v1
- name: Copy README.md to wiki/Home.md
run: cp -f README.md wiki/Home.md
- name: Upload to Wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:
path: "wiki"
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}