add handler for source update

This commit is contained in:
histausse 2021-08-06 03:33:38 +02:00
parent bc54f67e59
commit 1a179e5f74
Signed by: histausse
GPG key ID: 67486F107F62E9E9
2 changed files with 5 additions and 1 deletions

View file

@ -1 +1,5 @@
--- ---
- name: Re-build discord bridge
shell:
cmd: npm run build
chdir: /srv/matrix-appservice-discord

View file

@ -37,7 +37,7 @@
git: git:
repo: 'https://github.com/t2bot/matrix-appservice-discord.git' repo: 'https://github.com/t2bot/matrix-appservice-discord.git'
dest: /srv/matrix-appservice-discord dest: /srv/matrix-appservice-discord
# They should be an handler here the rebuild the bot notify: Re-build discord bridge
- name: Build typescript - name: Build typescript
shell: shell: