diff --git a/conda_smithy/templates/azure-pipelines-linux.yml.tmpl b/conda_smithy/templates/azure-pipelines-linux.yml.tmpl index 1b8692432..70e3f69b7 100644 --- a/conda_smithy/templates/azure-pipelines-linux.yml.tmpl +++ b/conda_smithy/templates/azure-pipelines-linux.yml.tmpl @@ -39,4 +39,5 @@ jobs: BINSTAR_TOKEN: $(BINSTAR_TOKEN) {%- if conda_forge_output_validation %} FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) + STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) {%- endif %} diff --git a/conda_smithy/templates/azure-pipelines-osx.yml.tmpl b/conda_smithy/templates/azure-pipelines-osx.yml.tmpl index 8facd202c..8807e960f 100644 --- a/conda_smithy/templates/azure-pipelines-osx.yml.tmpl +++ b/conda_smithy/templates/azure-pipelines-osx.yml.tmpl @@ -33,4 +33,5 @@ jobs: BINSTAR_TOKEN: $(BINSTAR_TOKEN) {%- if conda_forge_output_validation %} FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) + STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) {%- endif %} diff --git a/conda_smithy/templates/azure-pipelines-win.yml.tmpl b/conda_smithy/templates/azure-pipelines-win.yml.tmpl index fd173a670..62fc27651 100644 --- a/conda_smithy/templates/azure-pipelines-win.yml.tmpl +++ b/conda_smithy/templates/azure-pipelines-win.yml.tmpl @@ -124,5 +124,6 @@ jobs: BINSTAR_TOKEN: $(BINSTAR_TOKEN) {%- if conda_forge_output_validation %} FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) + STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) {%- endif %} condition: and(succeeded(), not(eq(variables['UPLOAD_PACKAGES'], 'False'))) diff --git a/conda_smithy/templates/drone.yml.tmpl b/conda_smithy/templates/drone.yml.tmpl index c29cc5514..ee67159c8 100644 --- a/conda_smithy/templates/drone.yml.tmpl +++ b/conda_smithy/templates/drone.yml.tmpl @@ -20,6 +20,8 @@ steps: {%- if conda_forge_output_validation %} FEEDSTOCK_TOKEN: from_secret: FEEDSTOCK_TOKEN + STAGING_BINSTAR_TOKEN: + from_secret: STAGING_BINSTAR_TOKEN {%- endif %} {%- if 'linux' in data.platform %} diff --git a/conda_smithy/templates/run_docker_build.sh.tmpl b/conda_smithy/templates/run_docker_build.sh.tmpl index a601ef65d..326e4d462 100644 --- a/conda_smithy/templates/run_docker_build.sh.tmpl +++ b/conda_smithy/templates/run_docker_build.sh.tmpl @@ -71,6 +71,7 @@ export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" -e CI \ {%- if conda_forge_output_validation %} -e FEEDSTOCK_TOKEN \ + -e STAGING_BINSTAR_TOKEN \ {%- endif %} $DOCKER_IMAGE \ {{ docker.command }} \