-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,33 @@ | ||
name: Run posters script | ||
|
||
on: | ||
schedule: | ||
- cron: '59 23 * * 4' # Run every Thursday at 11:59 PM | ||
on: [push] | ||
|
||
jobs: | ||
run_posters: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.OMI_SECRET }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- 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 | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add -A . | ||
git commit -m "update omigroup weekly notes" | ||
- name: Update omigroup gltf-extensions | ||
run: | | ||
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 gltf-extensions notes" | ||
git commit -m "update omigroup and gltf-extensions notes" | ||
git push origin main |