The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
362 B

  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. #
  5. DOMAIN=${1:?no domain provided}
  6. RECORDS_JSON="${2:?no JSON DNS records file provided}"
  7. THISDIR=$(cd $(dirname ${0}) && pwd)
  8. GDCURL=${THISDIR}/gdcurl
  9. ${GDCURL} ${DOMAIN}/records "${RECORDS_JSON}" PUT