File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -63,18 +63,20 @@ jobs:
63
63
whoami
64
64
ls -al
65
65
66
- # - name: stop script if command error
67
- # if: always()
68
- # uses: ./
69
- # with:
70
- # host: ${{ secrets.HOST }}
71
- # username: ${{ secrets.USERNAME }}
72
- # key: ${{ secrets.KEY }}
73
- # port: ${{ secrets.PORT }}
74
- # script_stop: true
75
- # script: |
76
- # mkdir abc/def
77
- # ls -al
66
+ - name : stop script if command error
67
+ uses : ./
68
+ continue-on-error : true
69
+ with :
70
+ host : ${{ secrets.HOST }}
71
+ username : ${{ secrets.USERNAME }}
72
+ key : ${{ secrets.KEY }}
73
+ port : ${{ secrets.PORT }}
74
+ script_stop : true
75
+ sync : true
76
+ debug : true
77
+ script : |
78
+ mkdir abc/def
79
+ ls -al
78
80
79
81
- name : pass environment
80
82
uses : ./
Original file line number Diff line number Diff line change 1
- FROM appleboy/drone-ssh:1.6.10
1
+ FROM ghcr.io/ appleboy/drone-ssh:1.6.12
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