test new workflow
This commit is contained in:
parent
6b58724fb1
commit
4c55582855
1 changed files with 4 additions and 1 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue