name: Deploy Docs on: push: branches: - main - release-* permissions: contents: read jobs: deploy: runs-on: ubuntu-latest permissions: contents: write steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: fetch-depth: 0 - name: Setup Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 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 }}"