name: Deploy Docs on: push: branches: - main - release-* permissions: contents: read jobs: deploy: runs-on: ubuntu-latest permissions: contents: write steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: fetch-depth: 0 - name: Setup Go uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version-file: "go.mod" - name: Configure Git run: | git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Build Docs run: make docs.publish env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"