Add custom branding to gitea

This commit is contained in:
Jake Howard 2023-03-26 20:37:43 +01:00
parent c0fd7ea3ac
commit 0c9a2aab0a
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -36,3 +36,19 @@
owner: "{{ docker_user.name }}"
notify: restart gitea
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