Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Apr 9, 2024
1 parent ab2b36e commit 5233b6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
tags:
- '**'
branches:
- main
workflow_dispatch:
pull_request:
branches:
Expand Down
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ type Options struct {
func main() {
var opts Options

viper.SetConfigFile(".env")
viper.AutomaticEnv()
_ = viper.ReadInConfig()
if err := viper.Unmarshal(&opts); err != nil {
log.Fatal().Msg(err.Error())
}
Expand Down

0 comments on commit 5233b6c

Please sign in to comment.