Skip to content

Commit

Permalink
update runner
Browse files Browse the repository at this point in the history
  • Loading branch information
madjin committed Oct 14, 2023
1 parent c2d68be commit 64fca17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ on: [push]
jobs:
run_posters:
runs-on: ubuntu-latest

#env:
# GH_TOKEN: ${{ github.token }}

env:
GH_TOKEN: ${{ secrets.OMI_SECRET }}

steps:
- uses: actions/checkout@v3
- name: Update omigroup
env:
GH_TOKEN: ${{ secrets.OMI_SECRET }}
run: |
bash scripts/posters.sh omigroup omigroup 4
bash scripts/create-index.sh
Expand All @@ -21,8 +25,6 @@ jobs:
git commit -m "update omigroup weekly notes"
- name: Update omigroup gltf-extensions
env:
GH_TOKEN: ${{ secrets.OMI_SECRET }}
run: |
bash scripts/posters.sh omigroup gltf-extensions 4
bash scripts/create-index.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/posters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


# Set the GH_TOKEN environment variable to your OMI_SECRET
GH_TOKEN="$OMI_SECRET"
#GH_TOKEN="$OMI_SECRET"

# Check if package dependencies are installed
packages=("gh" "capture-website" "jq" "pup")
Expand Down

0 comments on commit 64fca17

Please sign in to comment.