Merge pull request #69 from M17-Project/kc1awv-patch-1

Kc1awv patch 1
pull/67/head^2
Steve Miller 2021-08-18 06:56:40 -04:00 zatwierdzone przez GitHub
commit d3c12beab6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 2 dodań i 15 usunięć

Wyświetl plik

@ -10,15 +10,9 @@ 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 xindy"
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/
# Create an artifact of the pdf output.
- uses: actions/upload-artifact@v1
with:
name: DocumentationPDFSpecification
path: docs/_build/latex/

Wyświetl plik

@ -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"