Add custom branding to gitea
This commit is contained in:
parent
c0fd7ea3ac
commit
0c9a2aab0a
1 changed files with 16 additions and 0 deletions
|
@ -36,3 +36,19 @@
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
notify: restart gitea
|
notify: restart gitea
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- name: Create public images directory
|
||||||
|
file:
|
||||||
|
path: "{{ app_data_dir }}/gitea/data/custom/public/img"
|
||||||
|
state: directory
|
||||||
|
owner: "{{ docker_user.name }}"
|
||||||
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
become: true
|
||||||
|
|
||||||
|
- name: Install custom branding
|
||||||
|
unarchive:
|
||||||
|
src: https://gitea.theorangeone.net/api/packages/sys/generic/gitea-branding/latest/branding.zip
|
||||||
|
dest: "{{ app_data_dir }}/gitea/data/custom/public/img"
|
||||||
|
remote_src: true
|
||||||
|
owner: "{{ docker_user.name }}"
|
||||||
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue