1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-11-19 12:32:40 +01:00
qmckl/.github/workflows/gh-pages.yml

35 lines
740 B
YAML
Raw Normal View History

2020-10-29 00:56:48 +01:00
name: github pages
on:
push:
branches:
2020-11-25 18:41:55 +01:00
- master
2020-10-29 00:56:48 +01:00
jobs:
deploy:
2020-10-29 01:02:44 +01:00
runs-on: ubuntu-latest
2020-10-29 00:56:48 +01:00
steps:
- uses: actions/checkout@v2
2020-11-07 16:11:34 +01:00
2020-11-05 17:54:58 +01:00
- name: install extra repository
run: sudo add-apt-repository ppa:kelleyk/emacs
2020-11-07 16:11:34 +01:00
2020-11-05 17:54:58 +01:00
- name: refresh apt
run: sudo apt-get update
2020-11-07 16:11:34 +01:00
2020-10-29 00:56:48 +01:00
- name: install dependencies
2020-11-05 17:49:59 +01:00
run: sudo apt-get install emacs26
2020-10-29 00:56:48 +01:00
2020-11-07 16:11:34 +01:00
- name: install htmlize
2020-11-07 16:17:37 +01:00
run: git clone https://github.com/hniksic/emacs-htmlize && cp emacs-htmlize/htmlize.el docs/
2020-11-07 16:11:34 +01:00
2020-10-29 00:56:48 +01:00
- name: make
2021-03-06 19:56:36 +01:00
run: make -C src/ doc && ls docs/
2020-10-29 00:56:48 +01:00
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs