Skip to content

Commit

Permalink
wiki-build-action: update the commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilal2453 committed Nov 25, 2024
1 parent 6b1222f commit 944c867
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/rebuild-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,21 @@ jobs:
- name: Install Luvit
run: curl -L https://github.com/luvit/lit/raw/master/get-lit.sh | sh

- name: Generating wiki pages
- name: Generate the wiki pages
run: |
cd repo
../luvit docgen.lua
- name: Updating wiki repo
- name: Set up bot
run: |
mv -f $GITHUB_WORKSPACE/repo/docs/* $GITHUB_WORKSPACE/wiki/
cd $GITHUB_WORKSPACE/wiki
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Rebuild for commit #$(git rev-parse --short --verify main)"
- name: Update the wiki repo
run: |
git add --all
git commit -m "Rebuild for commit ${{ github.event.after }}"
git push
continue-on-error: true

0 comments on commit 944c867

Please sign in to comment.