Skip to content

Update GitHub Actions workflow dependencies #132

Update GitHub Actions workflow dependencies

Update GitHub Actions workflow dependencies #132

Workflow file for this run

name: wiki
on:
push:
branches:
- master
jobs:
wiki:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: ${{ github.repository }}.wiki
path: wiki
- uses: actions/setup-go@v4
with:
go-version: ^1.21
- run: |
rm -rf wiki/*
- run: |
go run . --help > wiki/Home.mediawiki
go run . --help-ranking > wiki/Ranking.mediawiki
go run . --help-filter > wiki/Filtering.mediawiki
- run: |
cd wiki
git config --global user.name "actions-user"
git config --global user.email "[email protected]"
git add . && git diff-index --quiet HEAD && exit 0
git commit -m "Add changes" && git push