Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Muddsair Sharif
AkustikiMobi
Commits
107230c2
Commit
107230c2
authored
3 years ago
by
Athanasios
Browse files
Options
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
1e80c4c1
Pipeline
#3363
passed with stages
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-5
.gitlab-ci.yml
with
5 additions
and
5 deletions
+5
-5
.gitlab-ci.yml
+
5
-
5
View file @
107230c2
...
...
@@ -14,7 +14,7 @@ test-job:
-
test -f public/main.js
-
test -f public/settings.js
-
test -f public/assets/css/style.css
-
test -f public/assets/css/mob
l
ie.css
-
test -f public/assets/css/mobi
l
e.css
-
test -f public/assets/images/header.jpg
-
test -f public/assets/images/hft_logo.svg
-
test -f public/home/index.html
...
...
@@ -25,11 +25,11 @@ test-job:
deploy-job
:
stage
:
deploy
script
:
-
rm -r "$EXPORT_DIR/$CI_PROJECT_NAME"
-
if [ -d "$EXPORT_DIR/$CI_PROJECT_NAME" ]; then
rm -r "$EXPORT_DIR/$CI_PROJECT_NAME"
; fi
-
mkdir -p "$EXPORT_DIR/$CI_PROJECT_NAME"
-
cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME"
tags
:
-
production
-
docker
only
:
-
master
when
:
manual
...
...
@@ -37,7 +37,7 @@ deploy-job:
cleanup-job
:
stage
:
cleanup
script
:
-
rm -r "$EXPORT_DIR/$CI_PROJECT_NAME"
-
if [ -d "$EXPORT_DIR/$CI_PROJECT_NAME" ]; then
rm -r "$EXPORT_DIR/$CI_PROJECT_NAME"
; fi
tags
:
-
production
-
docker
when
:
manual
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets