Update .gitlab-ci.yml file
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@ build:
|
||||
paths:
|
||||
- public_html
|
||||
only:
|
||||
-master
|
||||
- master
|
||||
deploy:
|
||||
stage: deploy
|
||||
image: ghcr.io/4hmz4/docker-rsync-ssh:main
|
||||
@@ -25,6 +25,6 @@ deploy:
|
||||
- echo "${SSH_HOST_KEY}" > "${HOME}/.ssh/known_hosts"
|
||||
- rsync -hrvz --delete --exclude=_ -e 'ssh -i id_rsa' public_html/ "${SSH_USER_HOST_LOCATION}"
|
||||
only:
|
||||
-master
|
||||
- master
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user