Compare commits

..

No commits in common. "9b2f5eec606d01e99560ad6f1fb9d1139340871c" and "cf00cc81da535fb6e3d6fee9e4407e0d2210fc28" have entirely different histories.

4 changed files with 3 additions and 9 deletions

View File

@ -1,10 +1,7 @@
##############################################################################
# REQUIRED SETTINGS (you will need these) #
##############################################################################
# What username should `set_local_password` operate on?
USERNAME=admin
##############################################################################
# COMMON SETTINGS (you may need these) #
##############################################################################

View File

@ -1,4 +1,3 @@
.drone.yml
.env.sample
.gitignore
README.md

4
.gitignore vendored
View File

@ -1,8 +1,6 @@
/.env
/wp-content/**
# Add an exception here for any custom plugins or themes to be included, e.g.
#!/wp-content/themes/${REPO_NAME_SNAKE}
/wp-content/twenty*
/data/**
!/data/.gitkeep

View File

@ -123,7 +123,7 @@ fix_url:
$(_DOCKER_COMPOSE) exec -u user wordpress wp --url=https://$(SITE_URL) search-replace --all-tables-with-prefix 'https://$(SITE_URL)' 'http://$(PROJECT_NAME).localhost'
set_local_password:
$(_DOCKER_COMPOSE) exec -u user wordpress wp user update $(USERNAME) --user_pass=password
$(_DOCKER_COMPOSE) exec -u user wordpress wp user update admin --user_pass=password
db_pull: db_fetch db_load fix_url