Skip to content

extensive values & ethics section finished #109

extensive values & ethics section finished

extensive values & ethics section finished #109

Workflow file for this run

name: compilepaper
on: [push]
jobs:
paper:
runs-on: ubuntu-latest
env:
DIR: .
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install pandoc
run: sudo apt-get update && sudo apt-get install -y texlive pandoc texlive-bibtex-extra texlive-xetex biber latexmk
- name: pandoc compile
working-directory: ${{ env.DIR }}
run: make
- name: move
run: mkdir -p github_artifacts && mv ${{ env.DIR }}/output.pdf ./github_artifacts/
- name: Upload pdf as artifact
uses: actions/upload-artifact@v2
with:
name: output.pdf
path: ./github_artifacts
deploy:
needs: [paper]
runs-on: ubuntu-latest
if: ${{ github.repository == 'CaptainSifff/paper_teaching-learning-RSE' && github.ref == 'refs/heads/main' }}
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
path: github_artifacts
- name: move
run: mkdir -p github_deploy && mv github_artifacts/*/* github_deploy
- name: deploy on orphan branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./github_deploy
publish_branch: build
force_orphan: true