mirror of
https://github.com/appleboy/ssh-action.git
synced 2026-07-07 21:15:36 +00:00
Compare commits
1 Commits
975ac6671d
...
f671fa27e2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f671fa27e2 |
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -6,6 +6,7 @@ env:
|
||||
BAR: "FOO"
|
||||
|
||||
jobs:
|
||||
|
||||
testing01:
|
||||
name: default flag testing
|
||||
runs-on: ubuntu-latest
|
||||
@ -262,20 +263,3 @@ jobs:
|
||||
script: |
|
||||
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