Commit 98ac9ca8 authored by Zarko Zecevic's avatar Zarko Zecevic
Browse files

Update .gitlab-ci.yml file

parent 23f4b662
Branches
No related merge requests found
Pipeline #50 passed with stages
in 4 seconds
Showing with 5 additions and 7 deletions
......@@ -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
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