Skip to content

Commit

Permalink
fix deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SpoofUoS committed Jul 3, 2023
1 parent 1b0b8d2 commit 64b8d64
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,18 @@ jobs:
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.PORT }}
source: "."
target: ${{ secrets.PATH }}
target: ${{ secrets.PATH }}/test

- name: Test
run: go test ./...
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.PORT }}
script: |
cd ${{ secrets.PATH }}/test
make test-app
- name: Deploy
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit 64b8d64

Please sign in to comment.