Compare commits
1 Commits
release-df
...
release-87
Author | SHA1 | Date | |
---|---|---|---|
8756ea37bf |
@@ -1,37 +0,0 @@
|
|||||||
name: Build and Release PDF
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- "**"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install LaTeX (XeLaTeX)
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y texlive-xetex texlive-science texlive-fonts-extra
|
|
||||||
|
|
||||||
wget -P /usr/local/share/fonts https://github.com/CatharsisFonts/Cormorant/raw/refs/heads/master/fonts/ttf/CormorantGaramond-Regular.ttf
|
|
||||||
wget -P /usr/local/share/fonts https://github.com/CatharsisFonts/Cormorant/raw/refs/heads/master/fonts/ttf/CormorantGaramond-Bold.ttf
|
|
||||||
wget -P /usr/local/share/fonts https://github.com/CatharsisFonts/Cormorant/raw/refs/heads/master/fonts/ttf/CormorantGaramond-Italic.ttf
|
|
||||||
wget -P /usr/local/share/fonts https://github.com/CatharsisFonts/Cormorant/raw/refs/heads/master/fonts/ttf/CormorantGaramond-BoldItalic.ttf
|
|
||||||
wget -P /usr/local/share/fonts https://github.com/CatharsisFonts/Cormorant/raw/refs/heads/master/fonts/ttf/CormorantGaramond-Light.ttf
|
|
||||||
fc-cache -fv
|
|
||||||
|
|
||||||
- name: Compile PDF
|
|
||||||
run: |
|
|
||||||
xelatex main.tex
|
|
||||||
|
|
||||||
- name: Release
|
|
||||||
uses: https://github.com/akkuman/gitea-release-action@main
|
|
||||||
with:
|
|
||||||
name: "Release ${{github.sha}}"
|
|
||||||
tag_name: "release-${{github.sha}}"
|
|
||||||
files: |-
|
|
||||||
main.pdf
|
|
42
.gitlab-ci.yml
Normal file
42
.gitlab-ci.yml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- release
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: texlive/texlive
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- xelatex main.tex
|
||||||
|
after_script:
|
||||||
|
- echo "JOB_ID=$CI_JOB_ID" >> job.env
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- "*.pdf"
|
||||||
|
expire_in: 1d
|
||||||
|
reports:
|
||||||
|
dotenv: job.env
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
|
|
||||||
|
release:
|
||||||
|
image: registry.gitlab.com/gitlab-org/release-cli
|
||||||
|
stage: release
|
||||||
|
needs:
|
||||||
|
- job: build
|
||||||
|
artifacts: true
|
||||||
|
script:
|
||||||
|
- echo "Create Release $CI_COMMIT_SHA"
|
||||||
|
release:
|
||||||
|
name: "Release $CI_COMMIT_SHA"
|
||||||
|
tag_name: "release-$CI_COMMIT_SHA"
|
||||||
|
ref: "$CI_COMMIT_SHA"
|
||||||
|
description: "Release $CI_COMMIT_SHA"
|
||||||
|
assets:
|
||||||
|
links:
|
||||||
|
- name: "main.pdf"
|
||||||
|
url: "https://git.karaolidis.com/karaolidis/cv/-/jobs/$JOB_ID/artifacts/raw/main.pdf"
|
||||||
|
except:
|
||||||
|
- tags
|
@@ -17,6 +17,13 @@
|
|||||||
{}
|
{}
|
||||||
\titlespacing*{\subsection}{0pt}{3.5ex plus 1ex minus .2ex}{-2.5ex}
|
\titlespacing*{\subsection}{0pt}{3.5ex plus 1ex minus .2ex}{-2.5ex}
|
||||||
|
|
||||||
|
\newcommand{\sechline}{%
|
||||||
|
\noindent
|
||||||
|
\makebox[\linewidth]{
|
||||||
|
\rule{\textwidth}{0.4pt}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
\newcommand{\datedlocatedsubsection}[4]{%
|
\newcommand{\datedlocatedsubsection}[4]{%
|
||||||
\subsection[#2]{#3 \hfill \small{\textlf{\scshape{#2}}}}%
|
\subsection[#2]{#3 \hfill \small{\textlf{\scshape{#2}}}}%
|
||||||
\begin{minipage}{5cm}
|
\begin{minipage}{5cm}
|
||||||
|
Reference in New Issue
Block a user