Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 564 Bytes

NOTES.md

File metadata and controls

16 lines (15 loc) · 564 Bytes

Deploying Tutorial to GitHub Pages with GitHub Actions

  1. Make sure you have the Sphinx conf.py set correctly:
html_baseurl = 'http://ukaea.github.io/scientific-python-cookiecutter/'
  1. Add this action to the GitHub Actions:
- name: Deploy tutorial
  uses: peaceiris/actions-gh-pages@v3
  with:
    github_token: ${{ secrets.GITHUB_TOKEN }}
    publish_dir: ./
    publish_branch: gh-pages
  1. Adjust settings of GitHub repo to use the gh-pages branch: Settings > Pages > Source > Branch: gh-pages > /(root)