fix(deploy-preprod file)
Some checks failed
Deploy Roxane to Preprod / deploy (push) Failing after 11s
Some checks failed
Deploy Roxane to Preprod / deploy (push) Failing after 11s
This commit is contained in:
@@ -40,14 +40,9 @@ jobs:
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
|
||||
ssh-keyscan -p "$SSH_PORT" "$SSH_HOST" >> ~/.ssh/known_hosts
|
||||
ssh-keyscan -6 -p "$SSH_PORT" "$SSH_HOST" >> ~/.ssh/known_hosts
|
||||
|
||||
case "$SSH_HOST" in
|
||||
*:*) SSH_HOST_SSH="[$SSH_HOST]" ;;
|
||||
*) SSH_HOST_SSH="$SSH_HOST" ;;
|
||||
esac
|
||||
|
||||
echo "SSH_HOST_SSH=$SSH_HOST_SSH" >> "$GITEA_ENV"
|
||||
echo "SSH_HOST_SSH=$SSH_HOST" >> "$GITEA_ENV"
|
||||
|
||||
- name: Deploy Roxane to preprod
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user