Update .gitlab-ci.yml file
This commit is contained in:
parent
694262910c
commit
b0b16b6ec6
1 changed files with 3 additions and 3 deletions
|
|
@ -6,9 +6,9 @@ build:
|
||||||
stage: build
|
stage: build
|
||||||
tags: ["shell"]
|
tags: ["shell"]
|
||||||
script:
|
script:
|
||||||
#tar -zcvf www.remarkbox.com.tar.gz output
|
#tar -zcvf www-remarkbox-com.tar.gz output
|
||||||
- rm -rf .git
|
- rm -rf .git
|
||||||
- cd ..; tar -zcvf www.remarkbox.com.tar.gz www.remarkbox.com; mv www.remarkbox.com.tar.gz www.remarkbox.com; cd www.remarkbox.com
|
- cd ..; tar -zcvf www-remarkbox-com.tar.gz www-remarkbox-com; mv www-remarkbox-com.tar.gz www-remarkbox-com; cd www-remarkbox-com
|
||||||
|
|
||||||
# create commit-hash.txt to track this build's git commit hash.
|
# create commit-hash.txt to track this build's git commit hash.
|
||||||
- echo $CI_COMMIT_SHA >> commit-hash.txt
|
- echo $CI_COMMIT_SHA >> commit-hash.txt
|
||||||
|
|
@ -16,7 +16,7 @@ build:
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- www.remarkbox.com.tar.gz
|
- www-remarkbox-com.tar.gz
|
||||||
- commit-hash.txt
|
- commit-hash.txt
|
||||||
expire_in: 1 month
|
expire_in: 1 month
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue