publish_wiki.yml 483 B

123456789101112131415161718192021222324
  1. name: Publish the wiki
  2. on:
  3. push:
  4. branches: [ master ]
  5. jobs:
  6. publish:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Checkout branch
  10. uses: actions/checkout@v1
  11. - name: Copy README.md to wiki/Home.md
  12. run: cp -f README.md wiki/Home.md
  13. - name: Upload to Wiki
  14. uses: SwiftDocOrg/github-wiki-publish-action@v1
  15. with:
  16. path: "wiki"
  17. env:
  18. GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}