Skip to content

Commit

Permalink
update deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
vegegoku committed Sep 17, 2023
1 parent 3b3b004 commit b0265e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
script: |
cd ../home/ubuntu/apps/domino-ui-demo2
./demo.sh
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@
<inherited>false</inherited>
<configuration>
<launcherDir>${project.build.directory}/gwt/launcherDir</launcherDir>
<jvmArgs>
<jvmArg>-Xms2048m</jvmArg>
<jvmArg>-Xmx4096m</jvmArg>
</jvmArgs>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit b0265e9

Please sign in to comment.