Compare commits
2 Commits
ac20b5c2a5
...
738255a440
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
738255a440 | ||
|
|
5bb1111691 |
@@ -8,7 +8,6 @@ variables:
|
||||
- &node_image node:18-alpine
|
||||
- &git_image alpine/git
|
||||
- &curl_image curlimages/curl:latest
|
||||
- &wdir /tmp/wdir
|
||||
|
||||
steps:
|
||||
# Étape 1: Nettoyage du projet, à ajuster
|
||||
@@ -19,8 +18,6 @@ steps:
|
||||
mkdir *wdir
|
||||
ls *wdir
|
||||
rm -f *wdir/version.env
|
||||
volumes:
|
||||
- wdir:wdir
|
||||
|
||||
- name: prepare
|
||||
image: *git_image
|
||||
@@ -84,7 +81,6 @@ steps:
|
||||
commands: |
|
||||
more $CI_WORKSPACE/version.env
|
||||
source $CI_WORKSPACE/version.env
|
||||
ls -alsR ${CI_WORKSPACE}/artifacts/
|
||||
if [ "$version_type" != "none" ]; then
|
||||
WDIR=${CI_WORKSPACE}/artifacts/$NEW_VERSION
|
||||
echo "create work directory: $WDIR"
|
||||
@@ -95,7 +91,7 @@ steps:
|
||||
tar -cf ${CI_WORKSPACE}/artifacts/$artifact -C $WDIR .
|
||||
ls -als ${CI_WORKSPACE}/artifacts/$artifact
|
||||
fi
|
||||
ls -alsR ${CI_WORKSPACE}/artifacts/
|
||||
ls -als ${CI_WORKSPACE}/artifacts/
|
||||
depends_on: [ build ]
|
||||
|
||||
- name: publish
|
||||
|
||||
Reference in New Issue
Block a user