「🏗️」 wip: started secrets management
This commit is contained in:
@ -1,6 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
WP_DIR="/var/www/wordpress"
|
||||
#WP_VERSION="6.7.2"
|
||||
|
||||
#if [ -f "$WP_DIR/index.php" ]; then
|
||||
# echo "Already downloaded wordpress, skipping..."
|
||||
#else
|
||||
# echo "Downloading Wordpress ${WP_VERSION}"
|
||||
# wp --allow-root core download --version=${WP_VERSION} --path=${WP_DIR}
|
||||
#fi
|
||||
|
||||
|
||||
if [ -f "${WP_DIR}/wp-config.php" ]; then
|
||||
echo "Wordpress already configured, skipping installation"
|
||||
|
Reference in New Issue
Block a user