5 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
xuu
bcadac0f07 build: fix deploy
All checks were successful
Go Bump / bump (push) Successful in 31s
Go Test / test (push) Successful in 48s
2023-09-30 21:02:59 -06:00
xuu
1a2087f2ee build: fix deploy
Some checks failed
Go Bump / bump (push) Failing after 31s
Go Test / test (push) Successful in 48s
2023-09-30 21:02:21 -06:00
xuu
f2069de1ec build: fix deploy
Some checks failed
Go Bump / bump (push) Failing after 37s
Go Test / test (push) Successful in 49s
2023-09-30 21:01:23 -06:00
4 changed files with 5 additions and 8 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

@@ -20,7 +20,6 @@ jobs:
- run: go install github.com/psanetra/git-semver/cli@master
- run: git tag v$(cli next --stable=false)
- run: git push --tags
- run: git tag v$(cli next --stable=false) && git push --tags || echo no change
- run: echo "🍏 This job's status is ${{ job.status }}."

View File

@@ -1,12 +1,10 @@
name: Deploy
on:
# push:
# branches: [ "main" ]
push:
branches: [ "main" ]
release:
types: [ published ]
create:
types: [ tag ]
jobs:
deploy:

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 {