aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin ALEXANDER <64310405+colisee@users.noreply.github.com>2022-09-26 14:56:22 +0200
committerGitHub <noreply@github.com>2022-09-26 14:56:22 +0200
commit6c803cf2cb2c81a71d09220517cf8065722419ad (patch)
tree978f19e7c106a45f5d1ef2fd2e283447abc84e4d
parentbf539edf61b44655f4047f5449c5082d74e6332d (diff)
parent169fa8749a3a25ab62fcde0564b8a2772ab1ad9a (diff)
downloadmmbtools-doc-6c803cf2cb2c81a71d09220517cf8065722419ad.tar.gz
mmbtools-doc-6c803cf2cb2c81a71d09220517cf8065722419ad.tar.bz2
mmbtools-doc-6c803cf2cb2c81a71d09220517cf8065722419ad.zip
Merge pull request #9 from colisee/master
Change github action trigger
-rw-r--r--.github/workflows/build-pdf.yml16
1 files changed, 4 insertions, 12 deletions
diff --git a/.github/workflows/build-pdf.yml b/.github/workflows/build-pdf.yml
index 08149eb..29554b5 100644
--- a/.github/workflows/build-pdf.yml
+++ b/.github/workflows/build-pdf.yml
@@ -5,13 +5,6 @@ on:
- master
paths-ignore:
- '**build-pdf.yml'
- pull_request:
- branches:
- - master
- types:
- - closed
- paths-ignore:
- - '**build-pdf.yml'
workflow_dispatch:
jobs:
@@ -24,13 +17,13 @@ jobs:
with:
ref: master
path: master
-
+
# Checks-out the gh-pages branch of this repository
- uses: actions/checkout@v3
with:
ref: gh-pages
path: gh-pages
-
+
# Build vc.tex
- name: build-vc
run: |
@@ -42,7 +35,7 @@ jobs:
\\gdef\\GITAuthorDate{%ad}\
\\gdef\\GITAuthorName{%an}" >> vc.tex
working-directory: master
-
+
# Build mmbtools.pdf
- name: build-pdf
uses: xu-cheng/latex-action@v2
@@ -59,10 +52,9 @@ jobs:
git add -f mmbtools.pdf
git commit -m "generated"
working-directory: gh-pages
-
+
- name: push-pdf
uses: ad-m/github-push-action@master
with:
directory: gh-pages
branch: gh-pages
-