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
aleksandarmarkovic99
zad2
Commits
3d5ca6fa
Commit
3d5ca6fa
authored
1 year ago
by
Zarko Zecevic
Browse files
Options
Downloads
Patches
Plain Diff
Add new file
parent
d0eff3b6
Branches
master
zad2c
No related merge requests found
Pipeline
#594
canceled with stages
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+29
-0
.gitlab-ci.yml
with
29 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
29
−
0
View file @
3d5ca6fa
stages
:
-
build
-
test
-
deploy
build-job
:
stage
:
build
script
:
-
echo "Hello, $GITLAB_USER_LOGIN!"
test-job1
:
stage
:
test
script
:
-
ls -a
-
pwd
-
tidy -o output.html -f greske.txt --drop-empty-elements no --doctype omit --clean yes --tidy-mark no index.html
artifacts
:
when
:
always
paths
:
-
greske.txt
-
output.html
deploy-prod
:
stage
:
deploy
script
:
-
usr=zarkoz
-
echo "This job tests something"
-
mkdir -p /home/$usr/public_html/gitkol
-
cp -r ./* /home/$usr/public_html/gitkol
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