curl -0 -X POST -u $STUDIO_USERNAME:$STUDIO_PASSWORD $SERVICE_URL/studio/api/2/repository/add_remote \
-H 'Content-Type: application/json; charset=utf-8' \
--resolve $CONTAINER_FQDN_AUTHORING:443:$CONTAINER_URL_AUTHORING \
--data-binary @- << EOF
{
"siteId": "$SITE",
"remoteName": "$REMOTE_NAME",
"remoteUrl": "$GIT_REPO",
"authentication_type": "basic",
"remote_username": "$GIT_USERNAME",
"remote_password": "$GIT_PASSWORD"
}
EOF
Created
July 7, 2023 08:35
-
-
Save rm--/24205a9ef5fbe6ee780d33b31a113f28 to your computer and use it in GitHub Desktop.
curl post here doc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment