We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 825c932 commit 5c9412fCopy full SHA for 5c9412f
bin/compile
@@ -169,12 +169,6 @@ source $BIN_DIR/steps/collectstatic
169
# ### Finalize
170
#
171
172
-# Store new artifacts in cache.
173
-for dir in $CACHED_DIRS; do
174
- rm -rf $CACHE_DIR/$dir
175
- cp -R $dir $CACHE_DIR/
176
-done
177
-
178
# Set context environment variables.
179
set-env PATH '$HOME/.heroku/python/bin:$PATH'
180
set-env PYTHONUNBUFFERED true
@@ -189,6 +183,12 @@ set-default-env PYTHONPATH /app/
189
183
# Experimental post_compile hook.
190
184
source $BIN_DIR/steps/hooks/post_compile
191
185
186
+# Store new artifacts in cache.
187
+for dir in $CACHED_DIRS; do
188
+ rm -rf $CACHE_DIR/$dir
+ cp -R $dir $CACHE_DIR/
+done
+
192
# ### Fin.
193
194
deep-mv $BUILD_DIR $ORIG_BUILD_DIR
0 commit comments