feat: deploy (#144) #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
name: release-please | |
jobs: | |
build: | |
name: Release Artifacts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: sudo apt-get install -y python3-yaml | |
texlive | |
texlive-fonts-extra | |
texlive-latex-extra | |
texlive-luatex | |
texlive-pictures | |
texlive-plain-generic | |
texlive-pstricks | |
texlive-science | |
latexmk | |
- name: LaTeX compile | |
run: | | |
./render --master-tex Snakemake_HPC_Users.tex \ | |
--configfile config/config_for_github.yaml ; | |
./render --master-tex Snakemake_HPC_Creators.tex \ | |
--configfile config/config_for_github.yaml; | |
./render --master-tex Snakemake_HPC_User_Creator_Combi.tex \ | |
--configfile config/config_for_github.yaml | |
./render --master-tex Snakemake_HPC_Admins.tex \ | |
--configfile config/config_for_github.yaml | |
- name: Upload Release Artifacts | |
if: ${{ steps.release.outputs.release_created }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Slides | |
path: | | |
slides/*.pdf | |
release-please: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: googleapis/release-please-action@v4 | |
id: release | |
with: | |
release-type: simple | |
package-name: "snakemake-hpc-teaching-material" |