Commit 94779bad authored by Admin's avatar Admin
Browse files

Add pipeline

parent edde6376
<!DOCTYPE html>
<html>
<head>
<title>IOU - i owe you</title>
<title>IOU - i owe you & you owe me</title>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
......
......@@ -22,7 +22,7 @@ set :deploy_to, "/var/www/deployrast"
# Default value for :linked_files is []
# append :linked_files, "config/database.yml"
set :linked_files, %w{config/master.key}
append :linked_files, "config/master.key"
# Default value for linked_dirs is []
append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "vendor/bundle", ".bundle", "public/system", "public/uploads"
......
......@@ -54,7 +54,7 @@ development:
compile: true
# Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules
check_yarn_integrity: true
check_yarn_integrity: false
# Reference: https://webpack.js.org/configuration/dev-server/
dev_server:
......
namespace :deploy do
namespace :check do
before :linked_files, :set_master_key do
on roles(:app), in: :sequence, wait: 10 do
unless test("[ -f #{shared_path}/config/master.key ]")
upload! 'config/master.key', "#{shared_path}/config/master.key"
end
end
end
end
end
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment