Skip to content
Snippets Groups Projects
Unverified Commit 7c36ffe8 authored by briancanini's avatar briancanini Committed by GitHub
Browse files

Merge pull request #133 from ASCWebServices/site_list

Change deploy scripts to use terminus to list target sites, rather th…
parents bbffe275 c3d8525b
No related branches found
No related tags found
No related merge requests found
ascintranet
astronomy-d8
d8-demo-site
d8-example
d8-clean-source
global-arts-and-humanities
mathematical-biosciences-institute
migration-target
ppec
roy-modern-head
solar-system
wonders-of-world
asctech-d8
#!/usr/bin/env bash
if [[ ! -r ./child_site_list.txt ]]; then
echo;
echo " ./child_site_list.txt is missing or not readable.";
echo;
echo " Make sure you're executing this script from a location from which";
echo " that relative path is available.";
echo;
exit 1;
fi
if [[ -z "$1" ]]; then
echo;
echo "Usage: deploylive.sh <\"Deploy message\">";
......@@ -17,7 +7,7 @@
exit 1;
fi
for site in `cat child_site_list.txt`; do
for site in `terminus org:site:list ohio-state-arts-and-sciences --upstream=b9baf7af-eb2c-4db5-81e6-32d3d9042572 --fields=name --format=string`; do
echo "Site: [$site]";
terminus env:deploy ${site}.live --updatedb --cc --note="$1";
done
......
#!/usr/bin/env bash
if [[ ! -r ./child_site_list.txt ]]; then
echo;
echo " ./child_site_list.txt is missing or not readable.";
echo;
echo " Make sure you're executing this script from a location from which";
echo " that relative path is available.";
echo;
exit 1;
fi
if [[ -z "$1" ]]; then
echo;
echo "Usage: deploytest.sh <\"Deploy message\">";
......@@ -17,7 +7,7 @@
exit 1;
fi
for site in `cat child_site_list.txt`; do
for site in `terminus org:site:list ohio-state-arts-and-sciences --upstream=b9baf7af-eb2c-4db5-81e6-32d3d9042572 --fields=name --format=string`; do
echo "Site: [$site]";
terminus env:deploy ${site}.test --updatedb --cc --note="$1";
done
......
#!/usr/bin/env bash
if [[ ! -r ./child_site_list.txt ]]; then
echo;
echo " ./child_site_list.txt is missing or not readable.";
echo;
echo " Make sure you're executing this script from a location from which";
echo " that relative path is available.";
echo;
exit 1;
fi
for site in `cat child_site_list.txt`; do
for site in `terminus org:site:list ohio-state-arts-and-sciences --upstream=b9baf7af-eb2c-4db5-81e6-32d3d9042572 --fields=name --format=string`; do
echo "Site: [$site]";
terminus site:upstream:clear-cache ${site};
terminus upstream:updates:list ${site}.dev;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment