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
|
2021-05-07 13:02:16 +02:00
|
|
|
run: sudo apt-get install emacs26 autoconf
|
2020-10-29 00:56:48 +01:00
|
|
|
|
2021-05-12 02:25:23 +02:00
|
|
|
- name: ./autogen.sh
|
|
|
|
run: ./autogen.sh
|
2021-05-07 13:02:16 +02:00
|
|
|
|
2021-05-07 12:58:30 +02:00
|
|
|
- name: ./configure
|
2021-10-14 19:49:07 +02:00
|
|
|
run: QMCKL_DEVEL=1 ./configure --enable-silent-rules --enable-maintainer-mode --without-trexio
|
2021-05-07 12:58:30 +02:00
|
|
|
|
2020-10-29 00:56:48 +01:00
|
|
|
- name: make
|
2021-05-12 02:16:45 +02:00
|
|
|
run: make -j 8 html
|
2021-03-06 20:14:26 +01:00
|
|
|
|
|
|
|
- name: pwd
|
|
|
|
run: pwd
|
|
|
|
|
|
|
|
- name: ls
|
2021-04-30 01:26:19 +02:00
|
|
|
run: ls -sh ./share/doc/qmckl/html/
|
2020-10-29 00:56:48 +01:00
|
|
|
|
|
|
|
- name: Deploy
|
2021-03-06 23:21:10 +01:00
|
|
|
uses: JamesIves/github-pages-deploy-action@4.1.0
|
2020-10-29 00:56:48 +01:00
|
|
|
with:
|
2021-03-06 23:21:10 +01:00
|
|
|
branch: gh-pages
|
2021-04-30 01:26:19 +02:00
|
|
|
folder: ./share/doc/qmckl/html/
|
2021-03-06 23:21:10 +01:00
|
|
|
|
|
|
|
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
2021-04-30 01:26:19 +02:00
|
|
|
# publish_dir: ./share/doc/qmckl/html/
|
2020-10-29 00:56:48 +01:00
|
|
|
|