Skip to content

Commit

Permalink
Merge pull request video-dev#2220 from video-dev/update-netlify-team
Browse files Browse the repository at this point in the history
create netlify sites under new team
  • Loading branch information
tjenkinson authored Apr 10, 2019
2 parents c1bbfd4 + f33208f commit 6de1679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy-netlify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ deploy () {
echo "Creating site for current commit ($id)."
uuid=$(uuidgen)
commitSiteName="hls-js-$uuid"
commitSiteId=$(curl --fail -d "{\"name\":\"$commitSiteName\"}" -H "Content-Type: application/json" -X POST "https://api.netlify.com/api/v1/sites?access_token=$NETLIFY_ACCESS_TOKEN" | jq -r '.site_id')
commitSiteId=$(curl --fail -d "{\"name\":\"$commitSiteName\"}" -H "Content-Type: application/json" -X POST "https://api.netlify.com/api/v1/hls-js/sites?access_token=$NETLIFY_ACCESS_TOKEN" | jq -r '.site_id')
echo "Created site '$commitSiteId'."

deploy "$commitSiteId"
Expand Down

0 comments on commit 6de1679

Please sign in to comment.