mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-23 16:52:17 +00:00
ci: don't publish when we are inside PR
This commit is contained in:
parent
ba503ff46f
commit
e3e14c5cde
@ -11,7 +11,7 @@ publish_gitea() {
|
||||
}
|
||||
|
||||
# Only publish main branch by default
|
||||
if [[ "${BRANCH_NAME}" = "main" ]]; then
|
||||
if [[ "${BRANCH_NAME}" = "main" && -z "$DRONE_PULL_REQUEST" ]]; then
|
||||
echo 'prepare to publish...'
|
||||
|
||||
if [[ -n "${GITEA_API_KEY}" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user