Skip to content

Renovate: paddyroddy/.github to v0.21.0 #96

Renovate: paddyroddy/.github to v0.21.0

Renovate: paddyroddy/.github to v0.21.0 #96

Workflow file for this run

name: deploy
on:
push:
branches:
- main
- "renovate/**"
pull_request:
concurrency:
cancel-in-progress: true
group: >-
${{ github.workflow }}-
${{ github.event.pull_request.number || github.ref }}
jobs:
chktex:
runs-on: ubuntu-latest
steps:
- uses: paddyroddy/.github/actions/latex/chktex@a4f050199bd1fbb2d8fceebaa0278517c4992047 # v0.21.0
vale:
runs-on: ubuntu-latest
steps:
- uses: paddyroddy/.github/actions/latex/vale@a4f050199bd1fbb2d8fceebaa0278517c4992047 # v0.21.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
compile-latex:
runs-on: ubuntu-latest
steps:
- uses: paddyroddy/.github/actions/latex/compile@a4f050199bd1fbb2d8fceebaa0278517c4992047 # v0.21.0
- name: Upload artefacts
uses: actions/upload-artifact@v3
with:
name: artefacts
path: "*.pdf"
if-no-files-found: error
upload-to-dropbox:
runs-on: ubuntu-latest
needs: compile-latex
steps:
- name: Download artefacts
uses: actions/download-artifact@v3
with:
name: artefacts
- uses: paddyroddy/.github/actions/dropbox@a4f050199bd1fbb2d8fceebaa0278517c4992047 # v0.21.0
with:
configfile-version: ${{ secrets.CONFIGFILE_VERSION }}
files-to-upload: $(find . -maxdepth 1 -name '*.pdf' -print)
oauth-app-key: ${{ secrets.OAUTH_APP_KEY }}
oauth-app-secret: ${{ secrets.OAUTH_APP_SECRET }}
oauth-refresh-token: ${{ secrets.OAUTH_REFRESH_TOKEN }}