Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
my-test-group
TestAppCiNew
Commits
4cca6d82
Commit
4cca6d82
authored
Nov 27, 2025
by
jayed nahian
Browse files
before_script updated
parent
9f52d563
Pipeline
#8112
failed with stage
in 3 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4cca6d82
...
...
@@ -2,14 +2,26 @@ stages:
-
deploy
before_script
:
# # Load NVM and Node.js
# - export NVM_DIR="$HOME/.nvm"
# - '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"'
# - nvm use 20
# # Commands to be run before any job
# - rm -rf node_modules
# - rm -f package-lock.json
# - npm install
# Load NVM and Node.js
-
export NVM_DIR="$HOME/.nvm"
-
'
[
-s
"$NVM_DIR/nvm.sh"
]
&&
\.
"$NVM_DIR/nvm.sh"'
-
nvm use
20
# C
ommands to be run before any job
# C
lean installation
-
rm -rf node_modules
-
rm -f package-lock.json
-
npm cache clean --force
-
npm install
# Verify React installation
-
ls -la node_modules/react/
deploy_job
:
stage
:
deploy
...
...
@@ -37,7 +49,7 @@ deploy_job:
# - mv app-arm64-*.apk $APK_NAME_PREFIX"_"$VERSION_NAME"_"$(date '+%d%B')_arm64.apk
# - mv app-armeabi-*.apk $APK_NAME_PREFIX"_"$VERSION_NAME"_"$(date '+%d%B')_armeabi.apk
# - mv app-x86_64-*.apk $APK_NAME_PREFIX"_"$VERSION_NAME"_"$(date '+%d%B')_x86_64.apk
-
mkdir -p ~/.ssh
#
- mkdir -p ~/.ssh
# - ssh-keyscan -p 3716 n.trucklagbe.com >> ~/.ssh/known_hosts 2>/dev/null
# - chmod 600 /Users/tltestuser/Downloads/ndot_key_14012025
-
scp -i /Users/tltestuser/Downloads/ndot_key_14012025 -P 3716 *.apk custodian@n.trucklagbe.com:/var/www/n.trucklagbe.com/html/APK/QO/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment