Skip to content

Commit

Permalink
fix workflows again
Browse files Browse the repository at this point in the history
  • Loading branch information
ashduino101 committed Feb 19, 2024
1 parent bf5250d commit 5ca7b0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts
- name: Deploy to server
run: scp -r dist ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/ -p ${{ secrets.SSH_PORT }}
run: scp -P ${{ secrets.SSH_PORT }} -r dist ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/
- name: Cleanup
run: rm -rf ~/.ssh
run: rm -rf ~/.ssh && rm -rf dist

0 comments on commit 5ca7b0b

Please # to comment.