Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs #16

Merged
merged 1 commit into from
Apr 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{secrets.dagu_GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.DAGU_GITHUB_TOKEN}}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ Download the binary from [Releases page](https://github.com/dagu/dagu/releases)
## Configuration

### Environment variables
- `dagu__DATA` - path to directory for internal use by dagu (default : `~/.dagu/data`)
- `dagu__LOGS` - path to directory for logging (default : `~/.dagu/logs`)
- `DAGU__DATA` - path to directory for internal use by dagu (default : `~/.dagu/data`)
- `DAGU__LOGS` - path to directory for logging (default : `~/.dagu/logs`)

### Web UI configuration

Expand Down
4 changes: 2 additions & 2 deletions internal/settings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ var ErrConfigNotFound = fmt.Errorf("config not found")
var cache map[string]string = nil

const (
CONFIG__DATA_DIR = "dagu__DATA"
CONFIG__LOGS_DIR = "dagu__LOGS"
CONFIG__DATA_DIR = "DAGU__DATA"
CONFIG__LOGS_DIR = "DAGU__LOGS"
)

func MustGet(name string) string {
Expand Down