Update main.yml #36
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: [push] | |
jobs: | |
run_posters: | |
runs-on: ubuntu-latest | |
env: # Add the environment variable here | |
GITHUB_TOKEN: ${{ secrets.OMI_SECRET }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Update omigroup | |
env: | |
GITHUB_TOKEN: ${{ secrets.OMI_SECRET }} | |
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 | |
env: | |
GITHUB_TOKEN: ${{ secrets.OMI_SECRET }} | |
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 push origin main |