Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbay committed Apr 13, 2021
1 parent 60eea56 commit 8e46d2d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and release userguide
on: [push]
jobs:
latex:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: build latex document
uses: xu-cheng/latex-action@v2
with:
root_file: main.tex
- name: release generated pdf
uses: svenstaro/upload-release-action@v2
if: github.ref == 'refs/heads/master'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: main.pdf
asset_name: userguide
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 8e46d2d

Please sign in to comment.