#!/bin/sh
# This is a comment!

#cannot use variations. config.variations should NOT have more than 4 items!! WT

# # echo "--------------------------PKR--------------------------"
cp ./STENCIL_KEYS/config.stencil-pkr.json config.stencil.json;
cp ./STENCIL_KEYS/secrets.stencil-pkr.json secrets.stencil.json;
stencil pull;
stencil push -a -d;
# # echo "--------------------------PKR--------------------------"


# # echo "--------------------------PKR Sandbox--------------------------"
cp ./STENCIL_KEYS/config.stencil-pkr-sandbox.json config.stencil.json;
cp ./STENCIL_KEYS/secrets.stencil-pkr-sandbox.json secrets.stencil.json;
stencil pull;
stencil push -a -d;
# # echo "--------------------------PKR Sandbox--------------------------"


# echo "--------------------------PKC--------------------------"
cp ./STENCIL_KEYS/config.stencil-pkc.json config.stencil.json;
cp ./STENCIL_KEYS/secrets.stencil-pkc.json secrets.stencil.json;
stencil pull;
#stencil start -v PKC
stencil push -a PKC -d;
# echo "--------------------------PKC--------------------------"

# echo "--------------------------Back to PKR--------------------------"
cp ./STENCIL_KEYS/config.stencil-pkr.json config.stencil.json;
cp ./STENCIL_KEYS/secrets.stencil-pkr.json secrets.stencil.json;
stencil pull;
# echo "--------------------------Back to PKR--------------------------"