Update push.yml

dropping pdf for now
pull/69/head
Steve Miller 2021-08-18 06:55:25 -04:00 committed by GitHub
parent bbf3393a4d
commit 08d84ef127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 8 deletions

View File

@ -3,7 +3,6 @@ on:
push:
branches:
- master
jobs:
docs:
runs-on: ubuntu-latest
@ -12,24 +11,18 @@ jobs:
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
pre-build-command: "apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-xetex texlive-latex-extra texlive-fonts-recommended fonts-freefont-otf"
build-command: "make html && make latexpdf"
build-command: "make html"
# Create an artifact of the html output.
- uses: actions/upload-artifact@v1
with:
name: DocumentationHTML
path: docs/_build/html/
- uses: actions/upload-artifact@v1
with:
name: DocumentationPDFSpecification
path: docs/_build/latex/
# Publish built docs to gh-pages branch.
# ===============================
- name: Commit documentation changes
run: |
git clone https://github.com/M17-Project/M17_spec.git --branch gh-pages --single-branch gh-pages
cp -r docs/_build/html/* gh-pages/
cp -r docs/_build/latex/M17Protocol*.pdf gh-pages/
cd gh-pages
touch .nojekyll
git config --local user.email "smiller@kc1awv.net"