mirror of
https://gitgud.io/Stardust3D/rjw-plasticsurgeries.git
synced 2024-08-14 23:57:25 +00:00
.
This commit is contained in:
parent
3542b40a19
commit
7ddb102dee
1 changed files with 13 additions and 6 deletions
|
@ -1,13 +1,20 @@
|
|||
image: "ubuntu"
|
||||
image: "alpine"
|
||||
|
||||
stages:
|
||||
- build
|
||||
variables:
|
||||
EXPORT_NAME: ProjectName
|
||||
EXPORT_NAME: rjw-plasticsurgeries
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- apt update; apt install -y zip
|
||||
- zip -r ../dist.zip *
|
||||
- apk --no-cache add zip curl
|
||||
- mkdir -p ../rjw-plasticsurgeries.tmp
|
||||
- cp -R ./* ../rjw-plasticsurgeries.tmp
|
||||
- mv ../rjw-plasticsurgeries.tmp ./rjw-plasticsurgeries; rm ./rjw-plasticsurgeries/CI_SERVER_TLS_CA_FILE; rm -r ./rjw-plasticsurgeries/git-template
|
||||
- zip -q "rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA.zip" ./rjw-plasticsurgeries
|
||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ./rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA.zip "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/zip/rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA.zip"'
|
||||
artifacts:
|
||||
name: $EXPORT_NAME-$CI_COMMIT_TAG
|
||||
name: rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA
|
||||
paths:
|
||||
- ../dist.zip
|
||||
- rjw-plasticsurgeries/
|
Loading…
Reference in a new issue