mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
deploy landing page only from develop branch
This commit is contained in:
parent
ce6a65259f
commit
0ac9ea1fbe
1 changed files with 2 additions and 2 deletions
|
@ -74,11 +74,11 @@ docs:
|
|||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > $HOME/.ssh/config
|
||||
- ssh-keyscan -H $DEPLOY_HOST >> $HOME/.ssh/known_hosts
|
||||
|
||||
deploy-docs:
|
||||
deliver:
|
||||
stage: deploy
|
||||
<<: *ssh
|
||||
script:
|
||||
- scp -pr web/landing.html $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH/index.html
|
||||
- [ "$CI_BUILD_REF_NAME" == "develop" ] && scp -pr web/landing.html $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH/index.html
|
||||
- scp -pr doc/html/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH/doc/$CI_BUILD_REF_NAME/
|
||||
only:
|
||||
- develop
|
||||
|
|
Loading…
Add table
Reference in a new issue