Skip to content

Adding utf8.RuneCountInString in place of len #128

Adding utf8.RuneCountInString in place of len

Adding utf8.RuneCountInString in place of len #128

Workflow file for this run

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