use proper file paths
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
stryan 2021-08-07 15:15:05 -04:00
parent cfb8b043cb
commit cbe9ce4ede
2 changed files with 8 additions and 2 deletions

View File

@ -12,7 +12,7 @@ steps:
commands: commands:
- mkdir dist build - mkdir dist build
- DESTDIR=build make install - DESTDIR=build make install
- tar -czf dist/release-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz build/* - tar -czf dist/release-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz build/* init/*
when: when:
event: tag event: tag

View File

@ -29,7 +29,7 @@
- name: installing guildgate binary - name: installing guildgate binary
copy: copy:
remote_src: yes remote_src: yes
src: "{{ tempfolder_1.path }}/guildgate" src: "{{ tempfolder_1.path }}/usr/local/bin/guildgate"
dest: /usr/local/bin/ dest: /usr/local/bin/
mode: '0755' mode: '0755'
register: new_binary register: new_binary
@ -41,6 +41,12 @@
dest: /etc/systemd/system/guildgate.service dest: /etc/systemd/system/guildgate.service
register: new_unit register: new_unit
- name: installing default templates
copy:
remote_src: yes
src: "{{ tempfolder_1.path}}/usr/local/share/guildgate/"
dest: /usr/local/share
- name: reload systemd with new unit - name: reload systemd with new unit
systemd: systemd:
daemon_reload: yes daemon_reload: yes