Skip to content

Renovate: actions/upload-artifact to b4b15b8 #63

Renovate: actions/upload-artifact to b4b15b8

Renovate: actions/upload-artifact to b4b15b8 #63

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@09285e01c1fe597f667fc839e2d3a819c61e4716 # v0
vale:
runs-on: ubuntu-latest
steps:
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/latex/vale@09285e01c1fe597f667fc839e2d3a819c61e4716 # 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@09285e01c1fe597f667fc839e2d3a819c61e4716 # v0
- name: Upload artefacts
# yamllint disable-line rule:line-length
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: artefacts
path: "*.pdf"
if-no-files-found: error
upload-to-dropbox:
if: github.ref == 'refs/heads/main'
needs: compile-latex
runs-on: ubuntu-latest
steps:
- name: Download artefacts
# yamllint disable-line rule:line-length
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
with:
name: artefacts
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/dropbox@09285e01c1fe597f667fc839e2d3a819c61e4716 # 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 }}