This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while read site; do | |
echo -e "Started updating ${site}" | |
terminus upstream:cc $site | |
terminus upstream:updates:apply --accept-upstream $site.dev | |
terminus env:deploy --sync-content --note="Patching PSA-2018-003" --cc -- $site.test | |
terminus env:deploy --note="Patching PSA-2018-003" --cc -- $site.live | |
echo -e "Finished updating ${site}\n\n\n" | |
done <sites.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Reference: https://help.backblaze.com/hc/en-us/articles/115002603173-Backblaze-Mass-Silent-Install-with-Jamf-Mac- | |
# The following parameters are pulled directly from the "Parameter Values" section of your Backblaze deployment policy. | |
# Please make sure they are filled out respectively prior to your push | |
username="%UserId%" | |
groupid="FILL IN YOUR OWN" | |
grouptoken="FILL IN YOUR OWN" | |
email="%Email%" |