Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Odion-Sonny authored Sep 29, 2023
1 parent 8f070d5 commit 0b872c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- name: Use a secret
env:
API_TOKEN: ${{ secrets.API_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

run: |
Expand All @@ -49,5 +50,5 @@ jobs:
run: |
git add LEADERBOARD.md
git commit -m "Update leaderboard"
git remote set-url origin "https://${{ secrets.GITHUB_TOKEN }}@github.com/mlsanigeria/AI-Hacktober-MLSA.git"
git remote set-url origin "https://${{ secrets.API_TOKEN }}@github.com/mlsanigeria/AI-Hacktober-MLSA.git"
git push

0 comments on commit 0b872c5

Please sign in to comment.