Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rendezvous
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VeNtura
rendezvous
Commits
951a4eb0
Commit
951a4eb0
authored
Mar 05, 2014
by
tady
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clear cache after deploy
parent
707fbf63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
.gitignore
+5
-0
config/deploy.rb
+3
-3
No files found.
.gitignore
View file @
951a4eb0
...
...
@@ -11,6 +11,8 @@
/db/*.sqlite3
/db/*.sqlite3-journal
*.sql
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp
...
...
@@ -25,3 +27,6 @@
# secret files
/config/database.yml
/config/settings.yml
/backup
/script/backup.sh
config/deploy.rb
View file @
951a4eb0
...
...
@@ -57,9 +57,9 @@ namespace :deploy do
after
:restart
,
:clear_cache
do
on
roles
(
:web
),
in: :groups
,
limit:
3
,
wait:
10
do
# Here we can do anything such as:
#
within release_path do
# execute :rake, 'cache
:clear'
#
end
within
release_path
do
execute
:rake
,
'tmp
:clear'
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment