-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (33 loc) · 1.06 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 "[email protected]"
git config --local user.name "GitHub Action"
git add -A .
git commit -m "update omigroup and gltf-extensions notes"
git push origin main