File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 2121 if (get ('is_argument_host_the_same_as_local_host ' )) {
2222 $ activeDir = get ('deploy_path ' ) . (testLocally ('[ -e {{deploy_path}}/release ] ' ) ? '/release ' : '/current ' );
2323 $ activeDir = testLocally ('[ -e ' . $ activeDir . ' ] ' ) ? $ activeDir : get ('deploy_path ' );
24- runLocally ('cd ' . $ activeDir . ' && curl --location --output artifacts.zip --header "PRIVATE-TOKEN: ' . $ gitlabApiToken . '" " ' . $ url . '" ' );
24+ runLocally ('cd ' . $ activeDir . ' && curl --fail -- location --output artifacts.zip --header "PRIVATE-TOKEN: ' . $ gitlabApiToken . '" " ' . $ url . '" ' );
2525 runLocally ('cd ' . $ activeDir . ' && vendor/bin/dep db:rmdump {{argument_host}} --options=dumpcode: ' . $ dumpCode . ' --no-interaction ' );
2626 runLocally ('cd ' . $ activeDir . ' && unzip -o artifacts.zip ' );
2727 runLocally ('cd ' . $ activeDir . ' && mv -n .dep/database/dumps/*dumpcode= ' . $ dumpCode . '* {{db_storage_path_local}}/ ' );
You can’t perform that action at this time.
0 commit comments