ci: add dev deploy command
This commit is contained in:
parent
e5c13dd870
commit
3518030c60
3 changed files with 17 additions and 2 deletions
11
_tools/deploy-dev.sh
Executable file
11
_tools/deploy-dev.sh
Executable 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
|
Reference in a new issue