File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ def clear_frontend_cache():
85
85
sudo ("rm -rf /var/apps/frontend/tmp/cache/*" )
86
86
87
87
88
+ def clear_government_frontend_cache ():
89
+ sudo ("rm -rf /var/apps/government-frontend/tmp/cache/*" )
90
+
91
+
88
92
def deploy_banner (application ):
89
93
execute (template , application )
90
94
if application == 'frontend' :
@@ -133,8 +137,6 @@ def remove_emergency_banner():
133
137
@task
134
138
@roles ('class-frontend' )
135
139
def clear_cached_templates ():
136
- for application in APPLICATIONS :
137
- if application == 'frontend' :
138
- clear_frontend_cache ()
139
- if application == 'static' :
140
- clear_static_generated_templates ()
140
+ clear_frontend_cache ()
141
+ clear_static_generated_templates ()
142
+ clear_government_frontend_cache ()
You can’t perform that action at this time.
0 commit comments