Skip to content

Split groups

Split groups #63

Workflow file for this run

name: CI
on: [push, pull_request]
env:
TEXLIVE_VERSION: 2022
TERM: xterm
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Setup
run: |
# install current version of inkscape
# sudo add-apt-repository -y ppa:inkscape.dev/stable
sudo apt-get update -q
sudo apt-get install inkscape -y
inkscape --version
# install texlive
pip install https://github.com/MaxNoe/texlive-batch-installation/archive/main.tar.gz
install_texlive -t $TEXLIVE_VERSION --collection='-a' --package-file tex-packages.txt -p $HOME/.local/texlive -v
echo "$HOME/.local/texlive/$TEXLIVE_VERSION/bin/x86_64-linux" >> $GITHUB_PATH
rm -rf ~/.local/share/recently-used.xbel
- name: Build
run: |
python create_logos.py -n 2
- name: Build Page
# only run on main
if: ${{ github.ref == 'refs/heads/main' }}
run: |
python create_page.py
zip -r ./s4f_all_logos.zip ./s4f_all_logos -x '*.zip'
mv s4f_all_logos.zip s4f_all_logos
find s4f_all_logos -name "*.zip" -exec mv {} build \;
touch build/.nojekyll
- name: Deploy to gihub pages
# only run on main
if: ${{ github.ref == 'refs/heads/main' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
single-commit: true