mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-08-01 19:54:32 -07:00
add prerelease to docs wf, generate on release wf
This commit is contained in:
parent
6091477294
commit
5a45d1f4f8
2 changed files with 65 additions and 13 deletions
5
.github/workflows/docs.yml
vendored
5
.github/workflows/docs.yml
vendored
|
@ -6,7 +6,6 @@ on:
|
|||
- main
|
||||
tags:
|
||||
- "[0-9]+.[0-9]+.[0-9]+"
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
COLORTERM: 'yes'
|
||||
|
@ -71,7 +70,9 @@ jobs:
|
|||
fi
|
||||
done
|
||||
antsibull-changelog lint -vvv
|
||||
antsibull-changelog generate
|
||||
if [[ "${{github.ref}}" == "refs/heads/main" ]]; then
|
||||
antsibull-changelog release --version "prerelease-$(grep version galaxy.yml | awk -F'"' '{ print $2 }')"
|
||||
fi
|
||||
working-directory: ansible_collections/middleware_automation/keycloak
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue