Skip to content

Merge branch 'master' of https://github.com/Unicontsoft/unicontsoft.g… #43

Merge branch 'master' of https://github.com/Unicontsoft/unicontsoft.g…

Merge branch 'master' of https://github.com/Unicontsoft/unicontsoft.g… #43

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [ master ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install latex
run: |
sudo apt-get update -y
sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- name: Build
uses: ammaraskar/sphinx-action@master
with:
docs-folder: .
build-command: "make html rinoh"
- name: Deploy HTML
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: _build/html
SINGLE_COMMIT: true
- name: Deploy PDF
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: pdfs
FOLDER: _build/rinoh
SINGLE_COMMIT: true