theres no master branch
This commit is contained in:
parent
f4e733f9b8
commit
aaf5f89c86
|
@ -24,7 +24,7 @@ build-doc:
|
|||
- make man
|
||||
- gzip build/man/tiempo.1
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "master"
|
||||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
- if: $CI_COMMIT_TAG =~ /^v*/
|
||||
artifacts:
|
||||
paths:
|
||||
|
@ -41,7 +41,7 @@ publish-doc:
|
|||
- ssh-add <(echo "$PRIVATE_KEY")
|
||||
- scp -r docs/build/html/* $SERVER_USER@$SERVER_HOST:$APP_PATH
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "master"
|
||||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
|
Loading…
Reference in New Issue