Merge pull request #1234 from dagu-org/update-doc

doc: remove deprecated field name in the doc
This commit is contained in:
YotaHamada 2025-09-03 00:09:37 +09:00 committed by GitHub
commit 9aad8dd5c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 10 deletions

View File

@ -153,7 +153,7 @@ steps:
# Working directory
- name: in-directory
dir: /app/src
workingDir: /app/src
command: npm install
```

View File

@ -223,10 +223,6 @@ steps:
- name: custom-dir
workingDir: /custom # Override DAG workingDir
command: pwd # Outputs: /custom
- name: also-custom
dir: /another # Alternative to workingDir
command: pwd # Outputs: /another
```
### Queue Configuration

View File

@ -251,11 +251,11 @@ Set where commands execute:
```yaml
steps:
- name: in-project
dir: /home/user/project
workingDir: /home/user/project
command: python main.py
- name: in-data
dir: /data/input
workingDir: /data/input
command: ls -la
```

View File

@ -14,7 +14,7 @@ env:
- SOME_FILE: ${SOME_DIR}/some_file
steps:
- name: task
dir: ${SOME_DIR}
workingDir: ${SOME_DIR}
command: python main.py ${SOME_FILE}
```

View File

@ -582,7 +582,7 @@ env:
- API_KEY: ${SECRET_API_KEY}
steps:
- name: task
dir: ${SOME_DIR}
workingDir: ${SOME_DIR}
command: python main.py ${SOME_FILE}
```
@ -858,7 +858,7 @@ Run multi-line scripts.
```yaml
steps:
- name: step in specific directory
dir: /path/to/working/directory
workingDir: /path/to/working/directory
command: pwd && ls -la
```