2021-04-12 14:26:54 +02:00
|
|
|
name: github pages
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-09-24 12:09:40 +02:00
|
|
|
with:
|
|
|
|
submodules: true
|
2021-04-12 14:26:54 +02:00
|
|
|
|
|
|
|
- name: install extra repository
|
|
|
|
run: sudo add-apt-repository ppa:kelleyk/emacs
|
|
|
|
|
|
|
|
- name: refresh apt
|
|
|
|
run: sudo apt-get update
|
|
|
|
|
|
|
|
- name: install dependencies
|
|
|
|
run: sudo apt-get install emacs26
|
|
|
|
|
2021-09-24 10:18:03 +02:00
|
|
|
# this step is needed to pull the git submodule org-html-themes
|
2021-09-24 12:09:40 +02:00
|
|
|
#- name: initialize submodules
|
|
|
|
# run: git submodule update --init
|
2021-09-24 10:18:03 +02:00
|
|
|
|
2021-04-12 14:26:54 +02:00
|
|
|
- name: make
|
|
|
|
run: cd tools/ && ./build_doc.sh && cd ..
|
|
|
|
|
|
|
|
- name: pwd
|
|
|
|
run: pwd
|
|
|
|
|
|
|
|
- name: ls
|
|
|
|
run: ls -sh ./docs
|
|
|
|
|
|
|
|
- name: Deploy
|
|
|
|
uses: JamesIves/github-pages-deploy-action@4.1.0
|
|
|
|
with:
|
|
|
|
branch: gh-pages
|
|
|
|
folder: ./docs
|
|
|
|
|
|
|
|
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# publish_dir: ./docs
|
|
|
|
|
|
|
|
|