1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-12-23 04:44:03 +01:00
qmckl/.github/workflows/gh-pages.yml

52 lines
1.1 KiB
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
2022-11-16 22:43:26 +01:00
permissions:
contents: read
2020-10-29 00:56:48 +01:00
jobs:
deploy:
2022-11-16 22:43:26 +01:00
permissions:
contents: write
2020-10-29 01:02:44 +01:00
runs-on: ubuntu-latest
2020-10-29 00:56:48 +01:00
steps:
2022-11-16 22:55:42 +01:00
- uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791
2020-11-07 16:11:34 +01:00
2022-11-18 14:15:13 +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
2022-11-18 14:15:13 +01:00
run: sudo apt-get install emacs 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
2022-11-16 22:55:42 +01:00
uses: JamesIves/github-pages-deploy-action@3dbacc7e69578703f91f077118b3475862cb09b8
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