1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-06-30 00:44:52 +02:00
qmckl/.github/workflows/gh-pages.yml

38 lines
806 B
YAML
Raw Normal View History

2020-10-29 00:56:48 +01:00
name: github pages
on:
push:
branches:
2020-10-29 01:06:18 +01:00
- main
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
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
2020-10-29 00:56:48 +01:00
- name: make
run: make -C src/ doc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs