Skip to content

wiki-build-action: update the commit message #13

wiki-build-action: update the commit message

wiki-build-action: update the commit message #13

Workflow file for this run

name: Rebuild Wiki
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: '${{ github.repository }}.wiki'
path: 'wiki'
- uses: actions/checkout@v4
with:
path: 'repo'
- name: Install Luvit
run: curl -L https://github.com/luvit/lit/raw/master/get-lit.sh | sh
- name: Generating wiki pages
run: |
cd repo
../luvit docgen.lua
- name: Updating wiki repo
run: |

Check failure on line 32 in .github/workflows/rebuild-wiki.yml

View workflow run for this annotation

GitHub Actions / Rebuild Wiki

Invalid workflow file

The workflow is not valid. .github/workflows/rebuild-wiki.yml (Line: 32, Col: 14): Unrecognized named-value: 'GITHUB_SHA'. Located at position 1 within expression: GITHUB_SHA
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 ${{GITHUB_SHA}}"
git push