From 8eebb129a44f4da5dbdff3ddfc333ea24e0b9bc4 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sun, 10 Sep 2023 19:36:13 +0200 Subject: [PATCH] deploy gh-pages --- .github/workflows/ci.yaml | 24 +++++++++++++++++++ .../date_and_location_strings.tex.j2 | 10 ++++---- .../templates/classic/components/entry.tex.j2 | 3 --- 3 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..5e2e702 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,24 @@ +name: ci +on: + push: + branches: + - main +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.11 + - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV + - uses: actions/cache@v3 + with: + key: mkdocs-material-${{ env.cache_id }} + path: .cache + restore-keys: | + mkdocs-material- + - run: pip install mkdocs-material + - run: mkdocs gh-deploy --force diff --git a/rendercv/templates/classic/components/date_and_location_strings.tex.j2 b/rendercv/templates/classic/components/date_and_location_strings.tex.j2 index 0db2892..bc0d0a7 100644 --- a/rendercv/templates/classic/components/date_and_location_strings.tex.j2 +++ b/rendercv/templates/classic/components/date_and_location_strings.tex.j2 @@ -1,9 +1,9 @@ ((* macro date_and_location_strings(date_and_location_strings) *)) -((* for item in date_and_location_strings *)) - ((* if loop.last *)) + ((* for item in date_and_location_strings *)) + ((* if loop.last *)) <> - ((* else *)) + ((* else *)) <>\newline - ((* endif *)) -((* endfor *)) + ((* endif *)) + ((* endfor *)) ((* endmacro *)) \ No newline at end of file diff --git a/rendercv/templates/classic/components/entry.tex.j2 b/rendercv/templates/classic/components/entry.tex.j2 index 51a2899..e3627f8 100644 --- a/rendercv/templates/classic/components/entry.tex.j2 +++ b/rendercv/templates/classic/components/entry.tex.j2 @@ -17,8 +17,6 @@ & <> \end{tabularx} - -\vspace{<>} ((* endmacro *)) ((* macro experience(company, position, highlights, date_and_location_strings)*)) @@ -75,6 +73,5 @@ ((* else *)) \textbf{<>:} <
> ((* endif *)) - \vspace{\YMarginBetweenEntries} \setlength{\leftskip}{0cm} ((* endmacro *)) \ No newline at end of file