Update .gitlab-ci.yml file

This commit is contained in:
Hamza Ahmed
2021-12-02 22:06:43 +00:00
parent ba7d882e3c
commit 89e05cae8a
+2 -2
View File
@@ -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