Skip to content

Commit

Permalink
Update convert-todo-list.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KarhouTam authored Nov 9, 2024
1 parent fd4671f commit 990f92d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/convert-todo-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: todo-list
token: ${{ secrets.PAT_TOKEN }}

- name: Install Pandoc
run: |
Expand All @@ -26,11 +27,16 @@ jobs:
run: |
pandoc TODO.md -o todo-list.pdf
- name: Commit and push PDF
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git remote set-url origin https://${{ secrets.PAT_TOKEN }}@github.com/KarhouTam/FL-bench.git
git add todo-list.pdf
git commit -m "Update TODO list PDF"
git push origin todo-list
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PAT_TOKEN }}
repository: KarhouTam/FL-bench
branch: todo-list
force: true

0 comments on commit 990f92d

Please sign in to comment.