File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM appleboy/drone-ssh
2+
3+ # Github labels
4+ LABEL "com.github.actions.name" ="SSH Commands"
5+ LABEL "com.github.actions.description" ="Executing remote ssh commands"
6+ LABEL "com.github.actions.icon" ="terminal"
7+ LABEL "com.github.actions.color" ="gray-dark"
8+
9+ LABEL "repository" ="https://github.com/appleboy/ssh-action"
10+ LABEL "homepage" ="https://github.com/appleboy"
11+ LABEL "maintainer" ="Bo-Yi Wu <appleboy.tw@gmail.com>"
12+ LABEL "version" ="0.0.1"
13+
14+ ADD entrypoint.sh /entrypoint.sh
15+ RUN chmod +x /entrypoint.sh
16+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 11# ssh-action
2+
23GitHub Action for executing remote ssh commands.
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -eu
4+
5+ export GITHUB=" true"
6+
7+ sh -c " /bin/drone-ssh $* "
You can’t perform that action at this time.
0 commit comments