ci: add dev deploy command

This commit is contained in:
Ben Goldsworthy 2021-05-02 19:16:54 +01:00
parent e5c13dd870
commit 3518030c60
3 changed files with 17 additions and 2 deletions

11
_tools/deploy-dev.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
if [[ $1 == "-v" ]]; then
echo "Deploying to VVV site #1"
rm -rf ../VVV/www/wordpress-one/public_html/wp-content/plugins/footnotes
cp -r src footnotes && mv footnotes ../VVV/www/wordpress-one/public_html/wp-content/plugins
#rm -rf ./footnotes
fi
echo "Deploy complete."
exit 0