-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (46 loc) · 1.32 KB
/
cv_add.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Build CV
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
schedule:
# * is a special character in YAML so you have to quote this string
# runs once a day
- cron: '*/60 */24 * * *'
# A workflow run is made up of >=1 jobs, run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
cv:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks executed as part of the job
steps:
- uses: actions/checkout@master
with:
submodules: 'true'
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.7
- uses: xu-cheng/latex-action@v2
with:
root_file: main.tex
- name: Add CV metadata
run: |
python3 -m pip install --upgrade pip
pip3 install --upgrade setuptools
python3 -m pip install -e .
python3 src/cv/scripts/add_cv_metadata.py
- run: git pull
- name: Committing changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Build CV