mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
fix: check files using abs path
(the docker user is changed due to feat-ssh pr)
This commit is contained in:
1 parent
fab02d03a9
commit
6692ae2b9b
4 files changed
+28
-28
No files matched your search
@@ -44,12 +44,12 @@ stages:
|
||||
- ls
|
||||
condition:
|
||||
files:
|
||||
- path: hello.txt
|
||||
- path: /home/commander/hello.txt
|
||||
type: file
|
||||
exceptions:
|
||||
- condition:
|
||||
files:
|
||||
- path: hello$
|
||||
- path: /home/commander/hello
|
||||
type: file
|
||||
responses:
|
||||
- type: narrative
|
||||
@@ -107,12 +107,12 @@ stages:
|
||||
- ls-touch
|
||||
condition:
|
||||
files:
|
||||
- path: world.txt
|
||||
- path: /home/commander/world.txt
|
||||
type: file
|
||||
exceptions:
|
||||
- condition:
|
||||
files:
|
||||
- path: world$
|
||||
- path: /home/commander/world
|
||||
type: file
|
||||
responses:
|
||||
- type: narrative
|
||||
@@ -154,7 +154,7 @@ stages:
|
||||
- ls-2
|
||||
condition:
|
||||
files:
|
||||
- path: notes
|
||||
- path: /home/commander/notes
|
||||
type: folder
|
||||
responses:
|
||||
- type: narrative
|
||||
@@ -203,7 +203,7 @@ stages:
|
||||
- cd-notes
|
||||
condition:
|
||||
files:
|
||||
- path: notes/note.txt
|
||||
- path: /home/commander/notes/note.txt
|
||||
type: file
|
||||
responses:
|
||||
- type: narrative
|
||||
|
||||
Reference in new issue
Block a user