fix: ci script
This commit is contained in:
@@ -20,7 +20,13 @@ jobs:
|
||||
- name: Setup SSH Key
|
||||
run: |
|
||||
set -x
|
||||
ip add
|
||||
|
||||
if command -v apk >/dev/null; then apk add --no-network iproute2 netcat-openbsd || apk add iproute2 netcat-openbsd;
|
||||
elif command -v apt-get >/dev/null; then apt-get update && apt-get install -y iproute2 netcat-openbsd; fi
|
||||
|
||||
# Kiểm tra IP của Runner
|
||||
ip addr show || ifconfig
|
||||
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
||||
|
||||
Reference in New Issue
Block a user