netdata/packaging: leftover cleanup, dont use dev branch on this condition
Pavlos Emm. Katsoulakis committed
Jul 7, 2019 at 16:13 UTC
fa02fba105a1428fc5b637be13c1411912e833f7
1 file changed
+4
-4
.travis.yml
+4
-4
@@ -135,7 +135,7 @@ stages:
135
on:
136
# Only deploy on ${USER}/netdata, master branch, when packages directory is created
137
repo: ${TRAVIS_REPO_SLUG}
138
- branch: binary-packages-specfile-cleanup
138
+ branch: master
139
condition: -d "${PACKAGES_DIRECTORY}"
140
# Production release packages deployment
141
- provider: packagecloud
@@ -147,8 +147,8 @@ stages:
147
skip_cleanup: true
148
on:
149
# Only deploy on ${USER}/netdata, master branch, when packages directory is created
150
- repo: "${TRAVIS_REPO_SLUG}"
151
- branch: binary-packages-specfile-cleanup
150
+ repo: "netdata/netdata"
151
+ branch: "master"
152
condition: -d "${PACKAGES_DIRECTORY}"
153
after_deploy:
154
- if [ -n "${BUILDER_NAME}" ]; then rm -rf /home/${BUILDER_NAME}/* && echo "Cleared /home/${BUILDER_NAME} directory" || echo "Failed to clean /home/${BUILDER_NAME} directory"; fi;
@@ -196,7 +196,7 @@ stages:
196
skip_cleanup: true
197
on:
198
# Only deploy on ${USER}/netdata, master branch, when build-area directory is created
199
- repo: "${TRAVIS_REPO_SLUG}"
199
+ repo: "netdata/netdata"
200
branch: master
201
condition: -d "${PACKAGES_DIRECTORY}"
202
after_deploy: