Skip to content

Commit 69e074b

Browse files
committed
Drop business 1 deploy from public
1 parent f7fcfc4 commit 69e074b

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.github/workflows/master-push.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -74,25 +74,3 @@ jobs:
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

0 commit comments

Comments
 (0)