store DB password in secret. make entrypoint more robust.

This commit is contained in:
stevensting
2025-02-09 17:59:02 +01:00
parent 4df10ce60d
commit 6004522de6
5 changed files with 43 additions and 25 deletions
+6 -1
View File
@@ -1 +1,6 @@
export LOOMIO_ENTRYPOINT_VERSION=v3
export LOOMIO_ENTRYPOINT_VERSION=v4
function make_last_user_admin()
{
SECRET_KEY_BASE=$(rake secret) rails runner "User.last.update(is_admin: true)"
}