Skip to content

Commit

Permalink
Fix #126: Deploy enrollment-server-onboarding-innovatrics (#127)
Browse files Browse the repository at this point in the history
* Fix #126: Deploy enrollment-server-onboarding-innovatrics
  • Loading branch information
banterCZ authored Dec 5, 2023
1 parent cf374af commit 34525e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/scp-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ jobs:
- name: Deploy enrollment-server.war mock
shell: bash
run: |
scp -i ~/.ssh/id_rsa **/target/enrollment-server-wultra-*.war ${{ secrets.SCP_USERNAME }}@${{ secrets.SCP_HOST }}:/opt/apache-tomcat/webapps/enrollment-server-mock.war
ssh -i ~/.ssh/id_rsa ${{ secrets.SCP_USERNAME }}@${{ secrets.SCP_HOST }} 'cp /opt/apache-tomcat/webapps/enrollment-server.war /opt/apache-tomcat/webapps/enrollment-server-mock.war'
- name: Deploy enrollment-server-onboarding.war mock
shell: bash
run: |
scp -i ~/.ssh/id_rsa **/target/enrollment-server-onboarding-wultra-*.war ${{ secrets.SCP_USERNAME }}@${{ secrets.SCP_HOST }}:/opt/apache-tomcat/webapps/enrollment-server-onboarding-mock.war
ssh -i ~/.ssh/id_rsa ${{ secrets.SCP_USERNAME }}@${{ secrets.SCP_HOST }} 'cp /opt/apache-tomcat/webapps/enrollment-server-onboarding.war /opt/apache-tomcat/webapps/enrollment-server-onboarding-mock.war'
- name: Deploy enrollment-server-onboarding.war innovatrics
shell: bash
run: |
ssh -i ~/.ssh/id_rsa ${{ secrets.SCP_USERNAME }}@${{ secrets.SCP_HOST }} 'cp /opt/apache-tomcat/webapps/enrollment-server-onboarding.war /opt/apache-tomcat/webapps/enrollment-server-onboarding-innovatrics.war'

0 comments on commit 34525e3

Please sign in to comment.