|
|
|
|
|
|
40
|
# - cp -rp html/. dist/var/www/html/gamma/
|
40
|
# - cp -rp html/. dist/var/www/html/gamma/
|
|
41
|
# - mkdir -p dist/etc/nginx/snippets
|
41
|
# - mkdir -p dist/etc/nginx/snippets
|
|
42
|
# - cp -p config/nginx-datasrc-location.conf dist/etc/nginx/snippets/nginx-datasrc-location.conf
|
42
|
# - cp -p config/nginx-datasrc-location.conf dist/etc/nginx/snippets/nginx-datasrc-location.conf
|
|
43
|
-# - RELEASE=${DRONE_REPO_NAME}
|
|
|
|
44
|
- - \\[ -n "${DRONE_REPO_BRANCH}" \\] && RELEASE=${RELEASE}-${DRONE_REPO_BRANCH}
|
|
|
|
45
|
- - \\[ -n "${DRONE_TAG}" \\] && RELEASE=${RELEASE}-${DRONE_TAG}
|
|
|
|
|
|
43
|
+ - RELEASE=${DRONE_REPO_NAME}
|
|
|
|
44
|
+ - \[ -n "${DRONE_REPO_BRANCH}" \] && RELEASE=${RELEASE}-${DRONE_REPO_BRANCH}
|
|
|
|
45
|
+ - \[ -n "${DRONE_TAG}" \] && RELEASE=${RELEASE}-${DRONE_TAG}
|
|
46
|
- echo "'${RELEASE}'"
|
46
|
- echo "'${RELEASE}'"
|
|
47
|
# - mv dist $RELEASE
|
47
|
# - mv dist $RELEASE
|
|
48
|
# - ls -la $RELEASE ; find $RELEASE -type f -exec md5sum '{}' \;
|
48
|
# - ls -la $RELEASE ; find $RELEASE -type f -exec md5sum '{}' \;
|