From 3aee1dd0ee9c7d330b3db3cb6cecf039d9c87307 Mon Sep 17 00:00:00 2001 From: Hang Tan Tai Date: Tue, 26 Nov 2024 16:31:26 +0700 Subject: [PATCH] vm --- .github/workflows/deploy.yml | 4 ++-- hello-world.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 499d03b..e5cf4ef 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,10 +29,10 @@ jobs: with: host: ${{ secrets.VM_HOST }} username: ${{ secrets.VM_USERNAME }} - key: ${{ secrets.VM_SSH_KEY }} + key: ~/.ssh/dizim-hcmus-azure-rsa.pem source: "my-backend.tar" target: "/home/azureuser/docker-images/my-backend.tar" - name: Load Docker image on VM run: | - ssh -i ${{ secrets.VM_SSH_KEY }} ${{ secrets.VM_USERNAME }}@${{ secrets.VM_HOST }} 'docker load -i /home/azureuser/docker-images/my-backend.tar' \ No newline at end of file + ssh -i ~/.ssh/dizim-hcmus-azure-rsa.pem ${{ secrets.VM_USERNAME }}@${{ secrets.VM_HOST }} 'docker load -i /home/azureuser/docker-images/my-backend.tar' \ No newline at end of file diff --git a/hello-world.py b/hello-world.py index 3cdd4b6..1f95412 100644 --- a/hello-world.py +++ b/hello-world.py @@ -1,3 +1,4 @@ print("Hello-world") print("___") +print("") print("") \ No newline at end of file