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:
6363 whoami
6464 ls -al
6565
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
7880
7981 - name : pass environment
8082 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
22
33COPY entrypoint.sh /entrypoint.sh
44RUN chmod +x /entrypoint.sh
You can’t perform that action at this time.
0 commit comments