Skip to content

Run posters script

Run posters script #98

Workflow file for this run

name: Run posters script
on:
schedule:
- cron: '59 23 * * 4' # Run every Thursday at 11:59 PM
jobs:
run_posters:
runs-on: ubuntu-22.04
permissions:
contents: write
env:
GITHUB_TOKEN: ${{ secrets.OMI_SECRET }}
steps:
- name: Install GSFonts
run: sudo apt install -y gsfonts
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18' # or the version you need
- name: Checkout code
uses: actions/checkout@v4
- name: Update omigroup
run: |
bash scripts/posters.sh omigroup omigroup 4
bash scripts/create-index.sh
bash scripts/pdf.sh omigroup
bash scripts/posters.sh omigroup gltf-extensions 4
bash scripts/create-index.sh
bash scripts/pdf.sh gltf-extensions
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A .
git commit -m "update omigroup and gltf-extensions notes"
git push origin main