Added project #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: github pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install extra repository | |
run: sudo add-apt-repository ppa:kelleyk/emacs | |
- name: refresh apt | |
run: sudo apt-get update | |
- name: install dependencies | |
run: sudo apt-get install emacs | |
- name: install htmlize | |
run: git clone https://github.com/hniksic/emacs-htmlize && cp emacs-htmlize/htmlize.el docs/ | |
- name: make | |
run: cd docs ; ./create.sh ../QMC.org ; cd .. | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs | |