mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
Making docs action only run on merge to main.
Update release action to publish a docs version Signed-off-by: Gustavo Fernandes de Carvalho <gustavo.carvalho@container-solutions.com>
This commit is contained in:
parent
7581b00d4c
commit
b7ecdf6f58
2 changed files with 5 additions and 1 deletions
1
.github/workflows/docs.yml
vendored
1
.github/workflows/docs.yml
vendored
|
@ -4,7 +4,6 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
- feature/docs-versioning
|
||||
env:
|
||||
# Common versions
|
||||
GO_VERSION: '1.17'
|
||||
|
|
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -54,6 +54,11 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
- name: Update Docs
|
||||
run: make docs.publish DOCS_VERSION=${{ github.event.inputs.version }} DOCS_ALIAS=latest
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
promote:
|
||||
name: Promote Container Image
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue