diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bed4972..5803c37 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,6 +23,9 @@ jobs: - name: Build run: npm run build + - name: Debug + run: pwd + - name: Set up SSH run: | mkdir -p ~/.ssh @@ -31,5 +34,5 @@ jobs: - name: Connect to server run: | - rsync -avz --delete -e "ssh -i id_rsa -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }}" build/ ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}:octubre/ + rsync -avz --delete -e "ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }}" build/ ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}:octubre/ # ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT }} "cd octubre/ && git stash && git remote set-url origin https://github.com/PPDBTeam6-2023-2024/PPDB-Project.git && git pull origin main --rebase"