Skip to content

Commit

Permalink
Optimize uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
banterCZ committed Dec 5, 2023
1 parent 7966897 commit f6331c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/scp-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +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 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 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: |
scp -i ~/.ssh/id_rsa **/target/enrollment-server-onboarding-wultra-*.war ${{ secrets.SCP_USERNAME }}@${{ secrets.SCP_HOST }}:/opt/apache-tomcat/webapps/enrollment-server-onboarding-innovatrics.war
ssh -i ~/.ssh/id_rsa cp /opt/apache-tomcat/webapps/enrollment-server-onboarding.war /opt/apache-tomcat/webapps/enrollment-server-onboarding-innovatrics.war

0 comments on commit f6331c6

Please sign in to comment.