diff --git a/appveyor.yml b/appveyor.yml index a039811..6c6bb96 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,10 +12,6 @@ environment: KIWIX_DESKTOP_VERSION: '2.0-rc4' KIWIX_DESKTOP_RELEASE: 1 -branches: - only: - - master - init: - cmd: | echo %TEST_VAR% diff --git a/appveyor/deploy.sh b/appveyor/deploy.sh index 9f0fed5..abf5682 100755 --- a/appveyor/deploy.sh +++ b/appveyor/deploy.sh @@ -12,6 +12,13 @@ then ci@download.kiwix.org:/data/download/nightly fi +if [[ "$APPVEYOR_REPO_BRANCH" != "master" ]] +then + scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \ + ${NIGHTLY_KIWIX_ARCHIVES_DIR} \ + ci@download.kiwix.org:/data/tmp/ci/${APPVEYOR_REPO_BRANCH} +fi + if [[ "$APPVEYOR_REPO_TAG" = "true" ]] then RELEASE_ARCHIVES=$(find $RELEASE_KIWIX_ARCHIVES_DIR -type f)