Run posters script #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |