From b0265e95441d6c99c404444ce099a05d2f0fec68 Mon Sep 17 00:00:00 2001 From: "Ahmad K. Bawaneh" Date: Sun, 17 Sep 2023 17:44:57 +0300 Subject: [PATCH] update deployment script --- .github/workflows/deploy.yaml | 15 +++------------ pom.xml | 4 ++++ 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 07e070af..3d276f58 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -19,10 +19,6 @@ name: Publish-app on: push: branches: [ 1.x.x-development ] -env: - MAVEN_OPTS: -Xms4096m -Xmx6144m -XX:MaxPermSize=6144m - JAVA_OPTS: -Xms4096m -Xmx6144m -XX:MaxPermSize=6144m - jobs: publish-app: runs-on: ubuntu-20.04 @@ -46,17 +42,12 @@ jobs: host: ${{ secrets.DEMO_HOST }} username: ${{ secrets.DEMO_SSH_USER }} password: ${{ secrets.DEMO_SSH_PASSWORD }} - - name: Stopping demo app - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.DEMO_HOST }} - username: ${{ secrets.DEMO_SSH_USER }} - password: ${{ secrets.DEMO_SSH_PASSWORD }} - script: sudo systemctl stop demo - name: Starting demo app uses: appleboy/ssh-action@master with: host: ${{ secrets.DEMO_HOST }} username: ${{ secrets.DEMO_SSH_USER }} password: ${{ secrets.DEMO_SSH_PASSWORD }} - script: sudo systemctl start demo \ No newline at end of file + script: | + cd ../home/ubuntu/apps/domino-ui-demo2 + ./demo.sh \ No newline at end of file diff --git a/pom.xml b/pom.xml index 6ee40449..bd15d443 100644 --- a/pom.xml +++ b/pom.xml @@ -257,6 +257,10 @@ false ${project.build.directory}/gwt/launcherDir + + -Xms2048m + -Xmx4096m +