Compare commits

..

3 Commits

Author SHA1 Message Date
smsteel
5d86159900 test
All checks were successful
continuous-integration/drone/pr Build is passing
2021-06-25 22:03:16 +03:00
smsteel
3f2980a922 CI 2021-06-25 22:03:16 +03:00
smsteel
fe30690724 CI fix 2021-06-25 22:03:16 +03:00
2 changed files with 14 additions and 4 deletions

View File

@ -7,6 +7,14 @@ platform:
os: linux os: linux
arch: amd64 arch: amd64
trigger:
branch:
- master
event:
include:
- push
- pull_request
steps: steps:
- name: build - name: build
commands: commands:
@ -16,12 +24,12 @@ steps:
commands: commands:
- make install - make install
when: when:
branch: event:
- master - push
- name: restart - name: restart
commands: commands:
- systemctl restart craft-bot - systemctl restart craft-bot
when: when:
branch: event:
- master - push

View File

@ -74,6 +74,8 @@ func main() {
runHttpServer(ctx, cfg.Http, &wg) runHttpServer(ctx, cfg.Http, &wg)
runSignalHandler(ctx, cancelFunc) runSignalHandler(ctx, cancelFunc)
getLogger(ctx).Infof("Running")
wg.Wait() wg.Wait()
} }