Skip to content

Commit

Permalink
Update publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jmandel committed Oct 29, 2018
1 parent 12ae73f commit 2efdc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/ci-build/publish
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cd ~/uploading/www/branches
find . -path ./master -prune -o -type d -ctime +30 -path './*' -exec rm -rf {} \;

# Delete branches that are no longer active
NAMES=$(curl -s https://api.github.com/repos/hl7-fhir/fhir-svn/branches | jq '.[].name')
NAMES=$(curl -s https://api.github.com/repos/HL7/fhir/branches | jq '.[].name')
if [ ! -z "$NAMES" ] && [[ $NAMES = *"\"master\""* ]] # Ensure GH response present and sane
then
for i in $(ls -d */); do
Expand Down

0 comments on commit 2efdc91

Please sign in to comment.