Skip to content

Renovate: paddyroddy/.github #32

Renovate: paddyroddy/.github

Renovate: paddyroddy/.github #32

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:
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/latex/chktex@69431c4ec1e375c5fe5f8fa96ae1e05f371d8326 # v0
vale:
runs-on: ubuntu-latest
steps:
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/latex/vale@69431c4ec1e375c5fe5f8fa96ae1e05f371d8326 # v0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
compile-latex:
runs-on: ubuntu-latest
steps:
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/latex/compile@69431c4ec1e375c5fe5f8fa96ae1e05f371d8326 # v0
- name: Upload artefacts
# yamllint disable-line rule:line-length
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: artefacts
path: "*.pdf"
if-no-files-found: error
upload-to-dropbox:
runs-on: ubuntu-latest
needs: compile-latex
steps:
- name: Download artefacts
# yamllint disable-line rule:line-length
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4
with:
name: artefacts
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/dropbox@69431c4ec1e375c5fe5f8fa96ae1e05f371d8326 # v0
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 }}