Skip to content

Commit

Permalink
Update rebuild-wiki.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilal2453 authored Jul 20, 2024
1 parent 25e3d6d commit cff0432
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rebuild-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,22 @@ jobs:
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: ./luvit docgen.lua
run: |
cd repo
../luvit docgen.lua
- run: ls $GITHUB_WORKSPACE

- name: Updating wiki repo
run: |
mv -f ./docs/* $GITHUB_WORKSPACE/wiki
mv -f $GITHUB_WORKSPACE/repo/docs/* $GITHUB_WORKSPACE/wiki/
cd $GITHUB_WORKSPACE/wiki
git add .
git commit -m '$(git rev-parse --short --verify main)'
Expand Down

0 comments on commit cff0432

Please sign in to comment.