Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/after_update_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
- name: Make way for shared paths / resources shared across releases
file:
state=absent
path={{ansistrano_release_path.stdout}}/{{item}}
path={{ansistrano_release_path}}/{{item}}
with_items: ansistrano_shared_paths
2 changes: 1 addition & 1 deletion config/steps/assetic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
- name: Dump assetic assets
shell: chdir={{ansistrano_release_path.stdout}}
shell: chdir={{ansistrano_release_path}}
SYMFONY_ENV={{symfony_env}} APP_ENV={{symfony_env}} {{symfony_php_path}} {{symfony_console_path}} assetic:dump {{ symfony_assetic_options }}
2 changes: 1 addition & 1 deletion config/steps/assets.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
- name: Install assets
shell: chdir={{ansistrano_release_path.stdout}}
shell: chdir={{ansistrano_release_path}}
SYMFONY_ENV={{symfony_env}} APP_ENV={{symfony_env}} {{symfony_php_path}} {{symfony_console_path}} assets:install {{ symfony_assets_options }}
4 changes: 2 additions & 2 deletions config/steps/cache.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
- name: Clear cache
shell: chdir={{ansistrano_release_path.stdout}}
shell: chdir={{ansistrano_release_path}}
SYMFONY_ENV={{symfony_env}} APP_ENV={{symfony_env}} {{symfony_php_path}} {{symfony_console_path}} cache:clear --no-warmup {{symfony_cache_options}}

- name: Warm-up cache
shell: chdir={{ansistrano_release_path.stdout}}
shell: chdir={{ansistrano_release_path}}
SYMFONY_ENV={{symfony_env}} APP_ENV={{symfony_env}} {{symfony_php_path}} {{symfony_console_path}} cache:warmup {{symfony_cache_options}}
2 changes: 1 addition & 1 deletion config/steps/composer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
when: symfony_composer_channel is defined

- name: Run composer install
shell: chdir={{ansistrano_release_path.stdout}}
shell: chdir={{ansistrano_release_path}}
export SYMFONY_ENV={{symfony_env}} APP_ENV={{symfony_env}} && {{symfony_php_path}} {{symfony_composer_path}} install {{symfony_composer_options}}
register: composer_install_result
changed_when: composer_install_result.stderr is search('- \w+ing ')
2 changes: 1 addition & 1 deletion config/steps/doctrine.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
- name: Run Doctrine migrations
shell: chdir={{ansistrano_release_path.stdout}}
shell: chdir={{ansistrano_release_path}}
SYMFONY_ENV={{symfony_env}} APP_ENV={{symfony_env}} {{symfony_php_path}} {{symfony_console_path}} doctrine:migrations:migrate --no-interaction {{symfony_doctrine_options}}
2 changes: 1 addition & 1 deletion config/steps/mongodb.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
- name: Update MongoDB schema
shell: chdir={{ansistrano_release_path.stdout}}
shell: chdir={{ansistrano_release_path}}
SYMFONY_ENV={{symfony_env}} APP_ENV={{symfony_env}} {{symfony_php_path}} {{symfony_console_path}} doctrine:mongodb:schema:update {{symfony_mongodb_options}}