Skip to content

greut is generating new slides #67

greut is generating new slides

greut is generating new slides #67

Workflow file for this run

name: Generation with pandoc
run-name: ${{ github.actor }} is generating new slides
on: [push]
env:
PANDOC_VERSION: 3.1.8
EMOJIONE_VERSION: 8.0.0
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 Job triggered by a ${{ github.event_name }}, running on ${{ runner.os }}"
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The branch ${{ github.ref }} from ${{ github.repository }} has been cloned to the runner."
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: >-
fonts-inconsolata
fonts-linuxlibertine
fonts-texgyre
latexmk
librsvg2-bin
lmodern
make
texlive-fonts-extra
texlive-fonts-recommended
texlive-lang-french
texlive-plain-generic
texlive-science
texlive-xetex
wget
version: 0.1
- run: |
wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-amd64.deb -O pandoc.deb
sudo dpkg -i pandoc.deb
- run: |
wget https://github.com/joypixels/emoji-assets/archive/v${EMOJIONE_VERSION}.tar.gz -O emojione-assets.tgz
tar xf emojione-assets.tgz
mv emoji-assets-${EMOJIONE_VERSION} emojione-assets
wget https://raw.githubusercontent.com/mreq/xelatex-emoji/master/xelatexemoji.sty
wget https://raw.githubusercontent.com/mreq/xelatex-emoji/master/xelatexemoji-flags.sty
sed -i 's/^\(\\usepackage{amsmath}\)/%\1/' xelatexemoji.sty
sed -i 's/^\(\\providecommand{\\xelatexemojipath}\)/%\1/' xelatexemoji.sty
- name: Run the Makefile
run: make all
- name: Add index
run: |
cp ./templates/index.html build/
cp ./templates/style.css build/
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
if: github.ref == 'refs/heads/master'
with:
folder: build # The folder the action should deploy.
branch: gh-pages
- run: echo "🍏 This job's status is ${{ job.status }}."