fix: check files using abs path

(the docker user is changed due to feat-ssh pr)
This commit is contained in:
wancat committed 2025-02-15 20:42:50 +08:00
1 parent fab02d03a9
commit 6692ae2b9b
4 files changed
+28 -28

No files matched your search

+8 -8
View File
@@ -49,9 +49,9 @@ stages:
command:
- ^mv hello.txt notes$
files:
- path: notes/hello.txt
- path: /home/commander/notes/hello.txt
type: file
- path: hello.txt
- path: /home/commander/hello.txt
exists: false
responses:
- type: narrative
@@ -106,9 +106,9 @@ stages:
command:
- ^mv
files:
- path: wow.txt
- path: /home/commander/wow.txt
type: file
- path: world.txt
- path: /home/commander/world.txt
exists: false
responses:
- type: narrative
@@ -148,9 +148,9 @@ stages:
command:
- ^mv
files:
- path: docs
- path: /home/commander/docs
type: directory
- path: notes
- path: /home/commander/notes
exists: false
responses:
- type: narrative
@@ -187,9 +187,9 @@ stages:
command:
- ^mv
files:
- path: hi.txt
- path: /home/commander/hi.txt
type: file
- path: docs/hello.txt
- path: /home/commander/docs/hello.txt
exists: false
exceptions:
- condition: