Skip to content

Commit

Permalink
[skip ci] replace secret_token when brewing in reports
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed May 30, 2018
1 parent be58f46 commit 1a7d3fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
# Inject MRIQC-WebAPI secret
if [ "${MRIQC_API_SECRET_TOKEN}" != "" ]; then
sed -i -E "s/<secret_token>/$MRIQC_API_SECRET_TOKEN/" mriqc/interfaces/webapi.py
sed -i -E "s/<secret_token>/$MRIQC_API_SECRET_TOKEN/" mriqc/data/reports/individual.html
grep -q -i $MRIQC_API_SECRET_TOKEN mriqc/interfaces/webapi.py
fi
# Get version, update files.
Expand Down Expand Up @@ -437,7 +438,7 @@ jobs:
- store_artifacts:
path: /tmp/bold/derivatives

- store_artifacts:
path: /tmp/bold/test

Expand Down

0 comments on commit 1a7d3fa

Please sign in to comment.