File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 14
14
- name : checkout
15
15
uses : actions/checkout@v1
16
16
17
+ - name : correct password but wrong key
18
+ uses : ./
19
+ with :
20
+ host : ${{ secrets.HOST }}
21
+ username : ${{ secrets.USERNAME }}
22
+ password : ${{ secrets.PASSWORD }}
23
+ key : " 1234"
24
+ port : ${{ secrets.PORT }}
25
+ script : whoami
26
+
27
+ - name : wrong password but correct key
28
+ uses : ./
29
+ with :
30
+ host : ${{ secrets.HOST }}
31
+ username : ${{ secrets.USERNAME }}
32
+ password : " abcdef"
33
+ key : ${{ secrets.KEY }}
34
+ port : ${{ secrets.PORT }}
35
+ script : whoami
36
+
17
37
- name : executing remote ssh commands using password
18
38
uses : ./
19
39
with :
Original file line number Diff line number Diff line change 1
- FROM appleboy/drone-ssh:1.6.8-linux-amd64
1
+ FROM appleboy/drone-ssh
2
2
3
3
COPY entrypoint.sh /entrypoint.sh
4
4
RUN chmod +x /entrypoint.sh
You can’t perform that action at this time.
0 commit comments