ci: better variable
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Setup SSH Key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
# Thêm host vào known_hosts để không bị hỏi yes/no
|
||||
ssh-keyscan git.demonkernel.io.vn >> ~/.ssh/known_hosts
|
||||
|
||||
Reference in New Issue
Block a user