bundles/mx-puppet-discord: remove registration.yaml before generating new one
This commit is contained in:
parent
5910d825c0
commit
a8a3bcdb83
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ actions = {
|
||||||
'triggered': True,
|
'triggered': True,
|
||||||
},
|
},
|
||||||
'mx-puppet-discord_generate_registration': {
|
'mx-puppet-discord_generate_registration': {
|
||||||
'command': 'cd /opt/mx-puppet-discord && sudo -u mx-puppet-discord node ./build/index.js -r -c /opt/mx-puppet-discord/config.yaml -f /opt/mx-puppet-discord/registration.yaml',
|
'command': 'cd /opt/mx-puppet-discord && $(rm /opt/mx-puppet-discord/registration.yaml || true) && sudo -u mx-puppet-discord node ./build/index.js -r -c /opt/mx-puppet-discord/config.yaml -f /opt/mx-puppet-discord/registration.yaml',
|
||||||
'needs': {
|
'needs': {
|
||||||
'user:mx-puppet-discord',
|
'user:mx-puppet-discord',
|
||||||
'action:mx-puppet-discord_npm_build',
|
'action:mx-puppet-discord_npm_build',
|
||||||
|
|
Loading…
Reference in a new issue