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 1414 - name : checkout
1515 uses : actions/checkout@v1
1616
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+
1737 - name : executing remote ssh commands using password
1838 uses : ./
1939 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
22
33COPY entrypoint.sh /entrypoint.sh
44RUN chmod +x /entrypoint.sh
You can’t perform that action at this time.
0 commit comments