Skip to content

Update docs

Update docs #645

Workflow file for this run

name: Docs
on:
push:
branches:
- main
env:
GO_VERSION: "1.21"
jobs:
generate-docs:
name: Generate Docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.ENV0_BOT_PAT }}
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "${{ env.GO_VERSION }}"
- name: Update generated docs
run: ./generate-docs.sh
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: update generated docs action
author_email: [email protected]
message: "Update docs"
add: "docs/*"