1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-22 12:23:54 +01:00

test action for Github page

This commit is contained in:
q-posev 2021-04-12 14:26:54 +02:00
parent 8defdaa0c0
commit f9ebe09ef8

50
.github/workflows/gh-pages.yml vendored Normal file
View File

@ -0,0 +1,50 @@
name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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
- name: install htmlize
run: git clone https://github.com/hniksic/emacs-htmlize && cp emacs-htmlize/htmlize.el docs/
- name: make
run: cd tools/ && ./build_doc.sh && cd ..
- name: pwd
run: pwd
- name: ls
run: ls -sh ./docs
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./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