From 24fcdbe384bbc0874c0836fe80fed07385e126e7 Mon Sep 17 00:00:00 2001 From: DoubleD <53948297+Hoon-Hub@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:00:21 +0900 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dba750d..6e53fe0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,11 +40,17 @@ jobs: # PORT: ${{ secrets.SERVER_PORT }} # password: ${{ secrets.NPC_DEV_SERVER_PASSWORD }} - PRIVATE_KEY: ${{ secrets.NCP_PRI_KEY }} - HOST: ${{ secrets.NCP_HOST }} - USERNAME: ${{ secrets.NCP_USR_NM }} - PORT: ${{ secrets.NCP_PORT }} - password: ${{ secrets.NCP_USR_PWD }} +# PRIVATE_KEY: ${{ secrets.NCP_PRI_KEY }} +# HOST: ${{ secrets.NCP_HOST }} +# USERNAME: ${{ secrets.NCP_USR_NM }} +# PORT: ${{ secrets.NCP_PORT }} +# password: ${{ secrets.NCP_USR_PWD }} + + PRIVATE_KEY: ${{ secrets.NCP_PRI_KEY }} + HOST: 49.50.174.69 + USERNAME: root + PORT: 22 + PASSWORD: Y3!ui9a=La run: | echo "$PRIVATE_KEY" > private_key.pem chmod 400 private_key.pem