Skip to content

Commit

Permalink
WIP DDS-2033
Browse files Browse the repository at this point in the history
  • Loading branch information
aishling-scilifelab committed Aug 13, 2024
1 parent a9b3df9 commit 59a044b
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/publish_and_trivyscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,21 @@ on:
release:
types: [published]
jobs:
build_pdf_docs:
name: Build PDF documentation
build_tech_overview:
name: Build technical overview
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Install LaTeX dependencies
- name: Build tech overview PDF
uses: docker://pandoc/latex:3.2
with:
entrypoint: /bin/sh
args: >-
-c "
tlmgr update --self &&
tlmgr install cm-super fontaxes lato pdflscape xkeyval &&
updmap-sys
"
- name: Build technical overview
uses: docker://pandoc/latex:3.2
with:
entrypoint: /bin/sh
args: >-
-c "
updmap-sys &&
pandoc
--output=dds_web/static/dds-technical-overview.pdf
doc/technical-overview.md
Expand All @@ -54,12 +47,21 @@ jobs:
with:
name: technical-overview-pdf
path: dds_web/static/dds-technical-overview.pdf
build_troubleshooting:
name: Build troubleshooting guide
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Build troubleshooting guide
uses: docker://pandoc/latex:3.2
with:
entrypoint: /bin/sh
args: >-
-c "
tlmgr update --self &&
tlmgr install cm-super fontaxes lato xkeyval &&
updmap-sys &&
pandoc
--output=dds_web/static/dds-troubleshooting.pdf
doc/troubleshooting.md
Expand All @@ -70,7 +72,7 @@ jobs:
name: troubleshooting-pdf
path: dds_web/static/dds-troubleshooting.pdf
push_to_registry:
needs: build_pdf_docs
needs: [build_tech_overview, build_troubleshooting]
if: github.repository == 'ScilifelabDataCentre/dds_web'
name: Push image
runs-on: ubuntu-latest
Expand Down

0 comments on commit 59a044b

Please sign in to comment.