Skip to content
Snippets Groups Projects
Commit 5049778b authored by MyIgel's avatar MyIgel :fire:
Browse files

API: Community: Fetch from github

Fixed permissions
parent 5164de8d
Branches
No related tags found
1 merge request!145API: Community: Fetch from github
Pipeline #
......@@ -12,8 +12,6 @@ api_update_community_repository:
git.latest:
- name: https://github.com/freifunk-ffm/directory.api.freifunk.net.git
- target: {{ api_community_json }}
- user: www-data
- group: www-data
- force_fetch: True
- force_reset: True
- require:
......@@ -21,6 +19,12 @@ api_update_community_repository:
- file: api_create_srv_www_community_api
- onchanges:
- cmd: api_run_update_community_json
file.directory:
- user: www-data
- group: www-data
- recurse:
- user
- group
api_symlink_community_json:
file.symlink:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment