curl -LO https://deployer.org/deployer.phar && sudo mv deployer.phar /usr/local/bin/dep && sudo chmod +x /usr/local/bin/dep
composer require deployer/recipes --dev
composer require rafaelstz/deployer-magento2 dev-master --dev
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 | |
IPADDRESS=("123.123.123.124" "456.456.456.457" "890.890.890.891") | |
echo "Adding IP addresses to Cloudflare Firewall..." | |
echo '' | |
for i in "${IPADDRESS[@]}" | |
do | |
: | |
# do whatever on $i |