diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5b2def..c6898bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ build: paths: - public_html only: - - master + - main 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 + - main