2 Commits

Author SHA1 Message Date
xuu
4784c1c380 fix: error
All checks were successful
Go Bump / bump (push) Successful in 34s
Go Test / test (push) Successful in 46s
Deploy / deploy (push) Successful in 1m44s
2023-10-01 17:06:24 -06:00
xuu
6bb1d524b9 fix: error
All checks were successful
Go Bump / bump (push) Successful in 43s
Go Test / test (push) Successful in 56s
2023-10-01 16:56:28 -06:00
3 changed files with 4 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/ev
User=www-data
Restart=always
RestartSec=30

View File

@@ -1,6 +1,8 @@
name: Deploy
on:
push:
branches: [ "main" ]
release:
types: [ published ]

View File

@@ -95,7 +95,7 @@ func (s *service) Run(ctx context.Context) (err error) {
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
defer cancel()
err = multierr.Combine(subReq.Close(ctx), subRes.Close(ctx), err)
err = multierr.Combine(errs, subReq.Close(ctx), subRes.Close(ctx))
}()
if errs != nil {