From 8b8f65d0137a4e5bd6a1bc0f94ee7a90a7392bee Mon Sep 17 00:00:00 2001 From: OZoneGuy Date: Sun, 24 Sep 2023 23:17:32 -0400 Subject: [PATCH] feat - Added server name to environment Don't have to spell it out anymore. --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3bc9795..478922f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,4 +33,4 @@ jobs: echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - name: Deploy - run: scp -i ~/.ssh/id_rsa -r dist/* root@omaralkersh.com:/var/www/s3-browser + run: scp -i ~/.ssh/id_rsa -r dist/* ${{ vars.SERVER }}:/var/www/s3-browser