Skip to content
Snippets Groups Projects
Commit ca3fc237 authored by jurgenhaas's avatar jurgenhaas
Browse files

Add file before commit and skip CI

parent 308cca14
No related branches found
No related tags found
No related merge requests found
......@@ -10,22 +10,17 @@
mode: 'u+rwX,g+rwX,o+rX'
recurse: yes
# TODO: Commit changed files individually
- name: "Commit files"
- name: "Commit and push files"
shell: 'git {{ item }}'
args:
chdir: '{{ webRoot }}'
become: false
with_items:
- 'config user.email "test@example.com"'
- 'add config/*'
- 'config user.email "deployment@lakedrops.com"'
- 'config user.name "Auto Config Export"'
- 'commit -am "Config change on server"'
- name: "Push upstream"
shell: 'git push'
args:
chdir: '{{ webRoot }}'
become: false
- 'commit -am "[ci skip] Config change on server"'
- 'push'
- name: "File Modes and Ownership for Repository"
file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment