Skip to content

Commit

Permalink
i THINK this will work
Browse files Browse the repository at this point in the history
  • Loading branch information
ashduino101 committed Feb 20, 2024
1 parent f974280 commit b263bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
- name: Build web
run: npm run build
- name: Deploy to server
run: sshpass -p "${{ secrets.SSH_PASS }}" "scp -P ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r dist ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/"
run: sshpass -p '${{ secrets.SSH_PASS }}' scp -P ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r dist ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/
- name: Cleanup
run: rm -rf ~/.ssh && rm -rf dist

0 comments on commit b263bb2

Please # to comment.