1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Ansible_Project/ansistrano_tasks/dependencies.yml

16 lines
477 B
YAML
Raw Normal View History

2022-05-02 17:37:21 +02:00
---
- name: "Install PHP dependencies"
community.general.composer:
command: install
working_dir: "{{ ansistrano_release_path.stdout }}"
- name: "Install JS dependencies"
community.general.npm:
path: "{{ ansistrano_release_path.stdout }}"
- name: "Compile SCSS"
ansible.builtin.command:
cmd: "./node_modules/gulp/bin/gulp.js build"
2022-05-02 17:37:21 +02:00
chdir: "{{ ansistrano_release_path.stdout }}"
2022-05-17 15:45:42 +02:00
creates: "{{ ansistrano_release_path.stdout }}/assets/css/main.css"