Skip to content

Use a token for the health endpoint #6

Use a token for the health endpoint

Use a token for the health endpoint #6

Workflow file for this run

name: Docs
concurrency: ci-${{ github.ref }}
on:
push:
branches: [develop]
paths:
- "**/*.go"
- "!docs/**"
workflow_dispatch:
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {
name: Linux,
os: ubuntu-latest,
}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Generate docs
run: |
git config --global user.email "[email protected]"
git config --global user.name "SweetRPG Depedency Updater"
git checkout ${{ github.head_ref || github.ref_name }}
go run github.com/swaggo/swag/cmd/swag@latest init -d cmd/catalog-api/,server/
git add docs/
git commit -m "Generate docs"
git push origin