diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..5b6d020cbdc45c4913e93c2dcaa36a2d92a62782 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +public +*.aux +*.fdb_latexmk +*.fls +*.log +*.pdf + diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ec73d9b82cbd53f6a1216c15a894fc8b82b494ea..2c753507d3090537b2b55146538ba165634ce3f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,15 @@ image: alpine:latest +build: + image: listx/texlive:2020 + script: + - make + - cp -f report.pdf public/ + pages: stage: deploy script: - - echo 'Nothing to do...' + - echo 'deploy report' artifacts: paths: - public diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..32b8755c5e1327bacf495b7f20d230db029f1c50 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ + + +all : report.pdf + +report.pdf : report.tex + latexmk -pdf + diff --git a/public/index.html b/public/index.html index 6652c7dd60ad34f6d80148f3c8e6876702d19854..259f6628930ad0bed8a1d199d0f099ac09c3a8ac 100644 --- a/public/index.html +++ b/public/index.html @@ -3,18 +3,19 @@ <head> <meta charset="utf-8"> <meta name="generator" content="GitLab Pages"> - <title>Plain HTML site using GitLab Pages</title> + <title>Simple public doc test</title> <link rel="stylesheet" href="style.css"> </head> <body> <div class="navbar"> - <a href="https://pages.gitlab.io/plain-html/">Plain HTML Example</a> - <a href="https://gitlab.com/pages/plain-html/">Repository</a> + <a href="report.pdf">Report</a> <a href="https://gitlab.com/pages/">Other Examples</a> </div> - <h1>Hello World!</h1> + <h1>Report</h1> + <a href="report.pdf">report.pdf</a> + <p> This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator. </p> diff --git a/report.tex b/report.tex new file mode 100644 index 0000000000000000000000000000000000000000..bc45e9fb0497cbc33e38a6091608f83c1c833ce2 --- /dev/null +++ b/report.tex @@ -0,0 +1,13 @@ +\documentclass[11pt]{report} + +\begin{document} + +\section{Intro} + +This is a public test. + +\subsection{Check} + +Not checked. + +\end{document}