Commit 3e774976 authored by jayed nahian's avatar jayed nahian
Browse files

fix-66

parent 584d8b26
Pipeline #8118 failed with stage
in 1 minute and 34 seconds
......@@ -32,13 +32,18 @@ deploy_job:
VERSION_NAME: '4.4.2'
APK_NAME_PREFIX: 'testApp_01'
APK_NAME: $APK_NAME_PREFIX'_'$VERSION_NAME'_'$(date '+%d%B')
SSH_PASSPHRASE: 'TlTech'
SERVER_IP: 'n.trucklagbe.com'
SSH_PORT: '3716'
SSH_USER: 'custodian'
script:
# -----------------------
# Setup SSH
# -----------------------
- mkdir -p ~/.ssh
- echo "$SSH_KEY" > ~/Users/tltestuser/Downloads/ndot_key_14012025
- chmod 600 ~/Users/tltestuser/Downloads/ndot_key_14012025
- echo "$SSH_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
# Start SSH Agent and add password-protected key
- eval "$(ssh-agent -s)"
......@@ -46,6 +51,7 @@ deploy_job:
# Add host to known_hosts
- ssh-keyscan -p $SSH_PORT $SERVER_IP >> ~/.ssh/known_hosts
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
# -----------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment