Skip to content

Commit 335ea05

Browse files
authored
Update publish.yml
1 parent ec86d4b commit 335ea05

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ jobs:
2828
runs-on: ubuntu-latest
2929

3030
steps:
31-
- uses: actions/checkout@v2
32-
33-
- uses: digitalocean/action-doctl@v2
31+
- uses: appleboy/ssh-action@v0.1.2
3432
with:
35-
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
33+
host: ${{ secrets.SSH_HOST }}
34+
username: ${{ secrets.SSH_USERNAME }}
35+
key: ${{ secrets.SSH_KEY }}
36+
script: |
37+
echo "Hello world"
3638
3739

0 commit comments

Comments
 (0)