Created
June 10, 2020 14:09
-
-
Save roelofjan-elsinga/6f2f6d872dd079719dd187e85b89a350 to your computer and use it in GitHub Desktop.
An ansible role to pull changes from a repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: "Pull changes from GitHub" | |
git: | |
repo: "{{github_repo_url}}", # This is how we can make this step reusable across projects | |
dest: "{{working_directory}}" | |
version: master # Branch to pull | |
accept_hostkey: yes | |
notify: | |
- install_composer_deps | |
- cache_laravel_config | |
- clear_laravel_views | |
- run_laravel_migrations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment