From 626189f72b6470ed73f5f8ca1a18049b10c83998 Mon Sep 17 00:00:00 2001 From: Oscar Blue Date: Fri, 29 Dec 2023 11:09:59 +0000 Subject: [PATCH] Added release pipeline --- .forgejo/workflows/release.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .forgejo/workflows/release.yaml diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml new file mode 100644 index 0000000..25443a8 --- /dev/null +++ b/.forgejo/workflows/release.yaml @@ -0,0 +1,28 @@ +name: release + +on: + push: + tags: + - '*' + +jobs: + release: + runs-on: docker + steps: + - name: Set up Git repository + uses: actions/checkout@v3 + + - name: Update packages + run: apt update + + - name: Install tex + run: apt update && export DEBIAN_FRONTEND=noninteractive && apt install texlive texlive-xetex texlive-fonts-extra texlive-luatex -y + + - name: Compile document + run: lualatex --output-format=pdf cv + + - name: Create release + uses: actions/release-action@main + with: + files: |- + cv.pdf \ No newline at end of file