Adding utf8.RuneCountInString in place of len #128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish docs via GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
id-token: write | |
pages: write | |
jobs: | |
build: | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v1 | |
- name: Setup Go environment | |
uses: actions/setup-go@v5.0.0 | |
with: | |
# The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks. | |
go-version: 1.22 | |
- name: Build api docs | |
working-directory: ./src | |
run: go run ./generators/api/main.go | |
- name: Deploy docs | |
uses: mhausenblas/mkdocs-deploy-gh-pages@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CUSTOM_DOMAIN: kaijuengine.org | |
#EXTRA_PACKAGES: build-base | |
#REQUIREMENTS: folder/requirements.txt |