Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mk1020 authored May 15, 2021
1 parent ec43dcc commit cb44277
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,5 @@ jobs:
run: |
npm install
npm run build
- name: ls -a via ssh
uses: garygrossgarten/github-action-ssh@release
with:
command: ls -a
host: ${{ secrets.HOST }}
username: root
passphrase: ${{ secrets.PASSPHRASE }}
privateKey: ${{ secrets.PRIVATE_KEY}}
- name: transfer package.json
run: scp ./dist/package.json root@${{secrets.HOST}}:./baby_app/

0 comments on commit cb44277

Please sign in to comment.