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