Skip to content

Commit

Permalink
use key to connect via ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-Skvortsov committed Aug 15, 2023
1 parent e3ad80b commit 4455ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy_stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
source: "infra/docker-compose.stage.yaml,infra/nginx/nginx.stage.conf"
target: ${{ env.DEPLOY_PATH }}
Expand All @@ -83,7 +83,7 @@ jobs:
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
cd ${{ env.DEPLOY_PATH }}
Expand Down

0 comments on commit 4455ee2

Please sign in to comment.