Browse Source

deploy##++

κρμγ 4 years ago
parent
commit
2907714cc1
2 changed files with 4 additions and 1 deletions
  1. 1 1
      .drone.yml
  2. 3 0
      run.sh

+ 1 - 1
.drone.yml

@@ -4,7 +4,7 @@ pipeline:
     commands:
     commands:
       - cd src/app
       - cd src/app
       - yarn
       - yarn
-      - yarn build
+  #    - yarn build
       - rm -rf ./node_modules
       - rm -rf ./node_modules
       - mkdir -p ./src/main/resources/static
       - mkdir -p ./src/main/resources/static
       - cp -r ./dist/frei-app/* ./src/main/resources/static/
       - cp -r ./dist/frei-app/* ./src/main/resources/static/

+ 3 - 0
run.sh

@@ -5,4 +5,7 @@
 #c=($(getent hosts urran_broadcast));
 #c=($(getent hosts urran_broadcast));
 #echo ${c[0]} ${c[1]}
 #echo ${c[0]} ${c[1]}
 
 
+echo $SPRING_PROFILES_ACTIVE
+echo $MONGO_PASSWORD
+
 java -jar -XX:+UseG1GC -Xmx500m -Xms64m -Dspring.data.mongodb.password=$MONGO_PASSWORD /usr/local/share/frei/frei.jar
 java -jar -XX:+UseG1GC -Xmx500m -Xms64m -Dspring.data.mongodb.password=$MONGO_PASSWORD /usr/local/share/frei/frei.jar