Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Zarko Zecevic
Lab4
Commits
98ac9ca8
Commit
98ac9ca8
authored
1 year ago
by
Zarko Zecevic
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
23f4b662
Branches
Branches containing commit
No related merge requests found
Pipeline
#50
passed with stages
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-7
.gitlab-ci.yml
with
5 additions
and
7 deletions
.gitlab-ci.yml
+
5
−
7
View file @
98ac9ca8
...
...
@@ -5,7 +5,6 @@ stages:
build-job
:
stage
:
build
image
:
ubuntu
script
:
-
echo "Hello, $GITLAB_USER_LOGIN!"
...
...
@@ -15,10 +14,6 @@ test-job1:
-
ls -a
-
pwd
-
tidy --quiet yes -o output.html --show-errors 0 --doctype omit --clean yes --tidy-mark no index.html
-
usr=zarkoz
-
echo "This job tests something"
-
mkdir -p /home/$usr/public_html/git
-
cp -r ./* /home/$usr/public_html/git
artifacts
:
paths
:
-
index.html
...
...
@@ -27,5 +22,8 @@ test-job1:
deploy-prod
:
stage
:
deploy
script
:
-
echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
environment
:
production
-
usr=zarkoz
-
echo "This job tests something"
-
mkdir -p /home/$usr/public_html/git
-
cp -r ./* /home/$usr/public_html/git
environment
:
production
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets