Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoon-Hub authored Oct 9, 2023
1 parent a9b4925 commit 13db359
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,16 @@ jobs:
- name: Deploy to Server
# uses: easingthemes/[email protected]
env:
PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
HOST: ${{ secrets.SERVER_HOST }}
USERNAME: ${{ secrets.SERVER_USERNAME }}
PORT: ${{ secrets.SERVER_PORT }}
password: ${{ secrets.NPC_DEV_SERVER_PASSWORD }}
# PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
# HOST: ${{ secrets.SERVER_HOST }}
# USERNAME: ${{ secrets.SERVER_USERNAME }}
# PORT: ${{ secrets.SERVER_PORT }}
# password: ${{ secrets.NPC_DEV_SERVER_PASSWORD }}
PRIVATE_KEY: ${{ secrets.NCP_PRI_KEY }}
HOST: ${{ secrets.NCP_HOST }}
USERNAME: ${{ secrets.NCP_NAME }}
PORT: ${{ secrets.NCP_PORT }}
password: ${{ secrets.NCP_PWD }}
run: |
echo "$PRIVATE_KEY" > private_key.pem
chmod 400 private_key.pem
Expand Down

0 comments on commit 13db359

Please sign in to comment.