Skip to content

Commit dd06288

Browse files
authored
Update main.yml
1 parent 985f661 commit dd06288

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,16 @@ jobs:
139139

140140
steps:
141141

142-
- name: Checkout repository
143-
uses: actions/checkout@v2
142+
- name: ls -a via ssh
143+
uses: fifsky/ssh-action@master
144+
with:
145+
command: |
146+
cd /tmp
147+
ls -a
148+
host: ${{ secrets.SPRINT_SERVER }}
149+
user: ${{ secrets.DOCKERHUB_USER_NAME }}
150+
key: ${{ secrets.SPRINT_DEPLOY_SSH_KEY }}
151+
144152

145153
- name: Deploy server
146154
uses: ./.github/actions/deploy

0 commit comments

Comments
 (0)