1
0
Fork 0
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:
Gustavo Fernandes de Carvalho 2022-02-01 15:59:14 -03:00
parent 7581b00d4c
commit b7ecdf6f58
2 changed files with 5 additions and 1 deletions

View file

@ -4,7 +4,6 @@ on:
push:
branches:
- main
- feature/docs-versioning
env:
# Common versions
GO_VERSION: '1.17'

View file

@ -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