Skip to content

Commit

Permalink
fix gh-pages and other tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
nutjob4life committed Nov 5, 2024
1 parent 1758b84 commit fb644f4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/leaderboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
- main
paths:
- 'engineering.json'
- '.github/workflows/leaerboard.yaml'
schedule:
- cron: '45 3 * * *'

Expand All @@ -36,7 +37,7 @@ jobs:
name: 📚 Repository Checkout
uses: actions/[email protected]
with:
token: ${{secrets.TOKEN}}
token: ${{secrets.GITHUB_TOKEN}}
-
name: 🐍 Python Wrangling
uses: actions/setup-python@v4
Expand All @@ -57,12 +58,14 @@ jobs:
mkdir --parents gh-pages
slim-leaderboard --emoji --output_format MARKDOWN engineering.json > gh-pages/index.md
env:
GITHUB_TOKEN: ${{secrets.TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
-
name: 📢 Leaderbord Publication
uses: peaceiris/actions-gh-pages@v4
publish_dir: gh-pages
publish_branch: gh_pages
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_dir: gh-pages
publish_branch: gh_pages

...

Expand Down

0 comments on commit fb644f4

Please sign in to comment.