Update .gitlab-ci.yml file

This commit is contained in:
Russell Ballestrini 2022-06-02 14:52:53 +00:00
parent 694262910c
commit b0b16b6ec6

View file

@ -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