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

26 lines
437 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
- name: install dependencies
2020-10-29 01:14:47 +01:00
run: sudo apt-get install emacs
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