ci: update
This commit is contained in:
@@ -18,11 +18,11 @@ jobs:
|
||||
|
||||
- name: Setup SSH Key
|
||||
env:
|
||||
SSH_KEY: ${{ secrets.DEPLOY_KEY }}
|
||||
SSH_KEY:
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
echo "$SSH_KEY" > ~/.ssh/id_ed25519
|
||||
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
ssh-keyscan -t ed25519 git.demonkernel.io.vn >> ~/.ssh/known_hosts
|
||||
ssh -i ~/.ssh/id_ed25519 -o BatchMode=yes -o StrictHostKeyChecking=no git@git.demonkernel.io.vn "say_hello" || true
|
||||
|
||||
Reference in New Issue
Block a user