forked from external-secrets/external-secrets
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 764 Bytes
/
docs.yml
File metadata and controls
35 lines (29 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Deploy Docs
on:
push:
branches:
- main
- release-*
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
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 }}"