mirror of
https://github.com/appleboy/ssh-action.git
synced 2026-07-05 12:01:05 +00:00
Compare commits
3 Commits
f671fa27e2
...
975ac6671d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
975ac6671d | ||
|
|
95527f53d0 | ||
|
|
6f6abb1fa9 |
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -6,7 +6,6 @@ env:
|
|||||||
BAR: "FOO"
|
BAR: "FOO"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
testing01:
|
testing01:
|
||||||
name: default flag testing
|
name: default flag testing
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -263,3 +262,20 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
||||||
|
|
||||||
|
testing05:
|
||||||
|
name: sudo command
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: sudo command
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
key: ${{ secrets.KEY }}
|
||||||
|
port: ${{ secrets.PORT }}
|
||||||
|
script_stop: true
|
||||||
|
script: |
|
||||||
|
sudo whoami
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user