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 bfce1a2 commit e853919
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/publish-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,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 demo2
- 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 demo2
script: |
cd ../home/ubuntu/apps/domino-ui-demo2
sudo ./demo.sh
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,5 @@
</plugins>
</build>
</profile>

</profiles>
</project>

0 comments on commit e853919

Please sign in to comment.