Publish dev preview in `dev_preview` subdirectory in tmp.kiwix.org/ci.

This commit is contained in:
Matthieu Gautier 2023-05-16 15:15:40 +02:00
parent 64c5f20d78
commit af29fd5f2e
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ def upload_archive(archive, project, make_release, dev_branch=None):
dest_path = dest_path + "nightly/" + DATE
if dev_branch:
dest_path = "/data/tmp/ci/" + dev_branch
dest_path = "/data/tmp/ci/dev_preview/" + dev_branch
else:
# Make the archive read only. This way, scp will preserve rights.
# If somehow we try to upload twice the same archive, scp will fails.