20 lines
285 B
Bash
Executable File
20 lines
285 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Author: Landon Dyck
|
|
# Deploys the dns configuration
|
|
#
|
|
# Usage: $ ./deploy.sh
|
|
|
|
export $(cat .env | xargs)
|
|
|
|
cd dns
|
|
|
|
dnscontrol preview
|
|
|
|
echo
|
|
read -sp $'\e[34mPress \e[1;32m[Enter]\e[0;34m key to deploy or \e[1;31mCTRL+C\e[0;34m to cancel\e[0m'
|
|
echo
|
|
echo
|
|
|
|
dnscontrol push
|