mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-19 12:32:40 +01:00
38 lines
806 B
YAML
38 lines
806 B
YAML
name: github pages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
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 emacs26
|
|
|
|
- name: install htmlize
|
|
run: git clone https://github.com/hniksic/emacs-htmlize && cp emacs-htmlize/htmlize.el src/
|
|
|
|
- name: install htmlize
|
|
run: git clone https://github.com/hniksic/emacs-htmlize
|
|
|
|
- name: make
|
|
run: make -C src/ doc
|
|
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./docs
|
|
|