Skip to content

Commit

Permalink
VM
Browse files Browse the repository at this point in the history
  • Loading branch information
hangtantai committed Nov 27, 2024
1 parent f053557 commit 6b8d48b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
script: |
echo "${{ secrets.VM_SSH_KEY }}" > /tmp/vm_ssh_key.pem
chmod 600 /tmp/vm_ssh_key.pem
scp -i /tmp/vm_ssh_key.pem -o StrictHostKeyChecking=no my-backend.tar ${{ secrets.VM_USERNAME }}@${{ secrets.VM_HOST }}:/home/${{ secrets.VM_USERNAME }}/my-backend.tar
scp -i /tmp/vm_ssh_key.pem -o StrictHostKeyChecking=no ./my-backend.tar ${{ secrets.VM_USERNAME }}@${{ secrets.VM_HOST }}:/home/${{ secrets.VM_USERNAME }}/my-backend.tar
rm /tmp/vm_ssh_key.pem
- name: Load Docker image and run container on VM
Expand Down
1 change: 1 addition & 0 deletions hello-world.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
print("HH")
print("HH")
print("HH")
print("HH")
print("HH")

0 comments on commit 6b8d48b

Please sign in to comment.