diff --git a/.github/workflows/rebuild-wiki.yml b/.github/workflows/rebuild-wiki.yml index c9783ee..d00803a 100644 --- a/.github/workflows/rebuild-wiki.yml +++ b/.github/workflows/rebuild-wiki.yml @@ -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" + + - name: Update the wiki repo + run: | git add . - git commit -m "Rebuild for commit #$(git rev-parse --short --verify main)" + git commit -m "Rebuild for commit ${{ github.event.after }}" git push + continue-on-error: true