Skip to content

Split groups

Split groups #57

Workflow file for this run

name: CI
on: [push, pull_request]
env:
TEXLIVE_VERSION: 2022
TERM: xterm
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- 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