Skip to content

Commit

Permalink
manually trigger publication
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Jul 3, 2024
1 parent 1e4473a commit 9a80c8e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,9 @@ jobs:
git config user.email "docbot@lenskit.org"
git add .
git commit -m 'rebuild documentation'
git push
- name: πŸ›« Push documentation
run: cd doc-site && git push
- name: πŸƒπŸ»β€βž‘οΈ Trigger publication workflow
run: cd doc-site && gh workflow run publish.yml --ref main
env:
GH_TOKEN: ${{secrets.LKBOT_TOKEN}}
10 changes: 9 additions & 1 deletion lkdev/workflows/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,16 @@ def job_publish_docs():
git config user.email "docbot@lenskit.org"
git add .
git commit -m 'rebuild documentation'
git push
"""),
},
{
"name": "πŸ›« Push documentation",
"run": "cd doc-site && git push",
},
{
"name": "πŸƒπŸ»β€βž‘οΈ Trigger publication workflow",
"run": "cd doc-site && gh workflow run publish.yml --ref main",
"env": {"GH_TOKEN": "${{secrets.LKBOT_TOKEN}}"},
},
],
}

0 comments on commit 9a80c8e

Please sign in to comment.