Browse Source

update drone.yml

tags/v0.0.19
Peter Vivell 6 years ago
parent
commit
36efc4d5f9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      drone.yml

+ 1
- 1
drone.yml View File

39
     - cp -rp html/. dist/var/www/html/gamma/
39
     - cp -rp html/. dist/var/www/html/gamma/
40
     - mkdir -p dist/etc/nginx/snippets
40
     - mkdir -p dist/etc/nginx/snippets
41
     - cp -p config/nginx-datasrc-location.conf dist/etc/nginx/snippets/nginx-datasrc-location.conf
41
     - cp -p config/nginx-datasrc-location.conf dist/etc/nginx/snippets/nginx-datasrc-location.conf
42
-    - RELEASE=${REPO_NAME}-${BRANCH}
42
+    - RELEASE=${DRONE_REPO_NAME}-$DRONE_BRANCH
43
     - mv dist $RELEASE
43
     - mv dist $RELEASE
44
     - ls -la $RELEASE
44
     - ls -la $RELEASE
45
     - find $RELEASE -type f -exec md5sum '{}' \;
45
     - find $RELEASE -type f -exec md5sum '{}' \;

Loading…
Cancel
Save