2 Commits

Author SHA1 Message Date
Râu Cao
2ecb4e2385 Upgrade Ruby to 3.0.4 2022-12-01 15:29:38 +01:00
Râu Cao
cdd3f026c4 Always use config for skipping post-deployment migrations 2022-12-01 15:05:24 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -61,6 +61,7 @@
"nodejs::install",
"backup::default",
"logrotate::default",
"poise-git::default",
"git::default",
"git::package"
],

View File

@@ -70,7 +70,7 @@ npm_package "yarn" do
version "1.22.4"
end
ruby_version = "3.0.3"
ruby_version = "3.0.4"
execute "systemctl daemon-reload" do
command "systemctl daemon-reload"
@@ -192,7 +192,6 @@ application mastodon_path do
end
execute 'rake db:migrate' do
# environment "RAILS_ENV" => "production", "HOME" => mastodon_path#, "SKIP_POST_DEPLOYMENT_MIGRATIONS" => "true"
environment "RAILS_ENV" => "production", "HOME" => mastodon_path, "SKIP_POST_DEPLOYMENT_MIGRATIONS" => "true"
user mastodon_user
group mastodon_user