| 123456789101112131415161718192021222324252627282930 |
- name: Deploy Docs
- on:
- push:
- branches:
- - main
- - release-*
- jobs:
- deploy:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
- - name: Setup Go
- uses: actions/setup-go@v5
- 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 }}"
|