fix npm install
This commit is contained in:
parent
4557020321
commit
619b4bafa9
1 changed files with 6 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
- name: Dowload the sources of the bot
|
- name: Dowload the sources of the bot
|
||||||
git:
|
git:
|
||||||
repo: 'https://github.com/t2bot/matrix-appservice-discord.git'
|
repo: 'https://github.com/Half-Shot/matrix-appservice-discord.git'
|
||||||
dest: /srv/matrix-appservice-discord
|
dest: /srv/matrix-appservice-discord
|
||||||
update: no # because this module is stupid and cannot ignore local changes
|
update: no # because this module is stupid and cannot ignore local changes
|
||||||
# notify: Re-build discord bridge
|
# notify: Re-build discord bridge
|
||||||
|
@ -45,6 +45,11 @@
|
||||||
path: /srv/matrix-appservice-discord
|
path: /srv/matrix-appservice-discord
|
||||||
state: latest
|
state: latest
|
||||||
executable: /usr/bin/npm --force
|
executable: /usr/bin/npm --force
|
||||||
|
retries: 3
|
||||||
|
delay: 1
|
||||||
|
register: npm_install_result
|
||||||
|
until: npm_install_result is succeeded
|
||||||
|
# The dependencies are screwed up...
|
||||||
|
|
||||||
- name: Build typescript
|
- name: Build typescript
|
||||||
shell:
|
shell:
|
||||||
|
|
Loading…
Reference in a new issue