File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 7474 echo "export TIMETRACKER_LATEST=${{ steps.vars.outputs.sha_short }}" > ./time-tracker-version.sh
7575 . ./all-env.sh
7676 docker stack deploy --compose-file docker-compose.yml base-demo
77-
78- - name : Copy docker-image to Business-1
79- uses : appleboy/scp-action@master
80- with :
81- host : ${{ secrets.BUSINESS_1_HOST }}
82- username : ${{ secrets.BUSINESS_1_USERNAME }}
83- key : ${{ secrets.BUSINESS_1_CI_CD_PRIVATE_KEY }}
84- source : " *.img"
85- target : " apps/timetracker"
86- overwrite : true
87-
88- - name : Deploy new docker image on Business-1
89- uses : appleboy/ssh-action@master
90- with :
91- host : ${{ secrets.BUSINESS_1_HOST }}
92- username : ${{ secrets.BUSINESS_1_USERNAME }}
93- key : ${{ secrets.BUSINESS_1_CI_CD_PRIVATE_KEY }}
94- script : |
95- ls -1 apps/timetracker/*.img | xargs --no-run-if-empty -L 1 docker load -i
96- echo "export TIMETRACKER_LATEST=${{ steps.vars.outputs.sha_short }}" > ./time-tracker-version.sh
97- . ./all-env.sh
98- docker stack deploy --compose-file docker-compose.yml erp1-business
You can’t perform that action at this time.
0 commit comments