Skip to content

Added gitpod yml for working in Gitpod containers. #27

Added gitpod yml for working in Gitpod containers.

Added gitpod yml for working in Gitpod containers. #27

Workflow file for this run

on:
push:
branches: main
name: docker_cv
jobs:
build:
name: create the curriculum vitae pdf file
runs-on: ubuntu-latest
container:
image: wuennemannflorian/myrvitae:latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: install texlive
run: |
sudo apt-get -y update
sudo apt-get install -y texlive-base texlive-latex-base
sudo apt-get install -y texlive-latex-recommended
sudo apt-get install -y texlive-xetex
sudo apt-get install -y texlive-fonts-extra
- name: render the curriculum vitae
run: |
Rscript -e "print(getwd())"
Rscript -e "rmarkdown::render(input = file.path(getwd(), 'Florian_Wuennemann.Rmd'), params = list(work_dir = getwd()))"
- name: Commit files
run: |
git config --global --add safe.directory /__w/FlorianWuennemann_CV/FlorianWuennemann_CV
git status
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add --all
git commit -am "add the cv.pdf file to the 'docs' directory of the repository"
git push
- name: Upload pdf file
uses: actions/upload-artifact@v1
with:
name: docs
path: docs/