2021-04-30 22:23:51 +00:00
|
|
|
name: Deploy Docs
|
|
|
|
|
2021-03-01 07:31:02 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2023-05-15 07:06:15 +00:00
|
|
|
- release-*
|
2022-01-14 23:26:21 +00:00
|
|
|
|
2021-03-01 07:31:02 +00:00
|
|
|
jobs:
|
|
|
|
deploy:
|
2022-10-06 17:14:13 +00:00
|
|
|
runs-on: ubuntu-latest
|
2021-03-01 07:31:02 +00:00
|
|
|
steps:
|
2022-03-07 08:06:46 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-03-01 07:31:02 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
2021-04-30 22:23:51 +00:00
|
|
|
- name: Setup Go
|
2023-03-20 22:00:25 +00:00
|
|
|
uses: actions/setup-go@v4
|
2021-04-30 22:23:51 +00:00
|
|
|
with:
|
2022-09-15 15:17:52 +00:00
|
|
|
go-version-file: "go.mod"
|
2021-04-30 22:23:51 +00:00
|
|
|
|
2022-11-30 19:06:59 +00:00
|
|
|
- name: Configure Git
|
|
|
|
run: |
|
|
|
|
git config user.name "$GITHUB_ACTOR"
|
|
|
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
|
|
|
2021-04-30 22:23:51 +00:00
|
|
|
- name: Build Docs
|
2022-02-01 13:57:49 +00:00
|
|
|
run: make docs.publish
|
|
|
|
env:
|
2022-10-06 17:14:13 +00:00
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|