Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanLiviuVarzaru committed Nov 28, 2024
1 parent 1038d4e commit 72f6297
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/bbm_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
TPATH: ${{ env.DEPLOY_PATH }}
if: ${{ env.DEPLOY == 'true' && env.BB_ENV == 'DEV' }}
run: |
ssh -p $TPORT $TUSER@$TIP "cd $TPATH/docker-compose &&
ssh -p $TPORT $TUSER@$TIP "cd $TPATH/docker-compose &&
docker-compose down"
- name: deploy
Expand All @@ -121,20 +121,20 @@ jobs:
if: ${{ env.DEPLOY == 'true' }}
run: |
# Copy files to remote server
rsync -a \
--progress \
--delete \
--exclude-from=rsync.exclude \
rsync -a \
--progress \
--delete \
--exclude-from=rsync.exclude \
-e "ssh -p $TPORT" ./ $TUSER@$TIP:$TPATH/
# Generate docker-compose
ssh -p $TPORT $USER@$TIP "cd $TPATH/docker-compose/
ssh -p $TPORT $USER@$TIP "cd $TPATH/docker-compose/
&& ./generate-config.py --env=${BB_ENV,,}"
# Define auto-generated masters
ssh -p $TPORT $USER@$TIP \ "cd $TPATH/ && ./define_masters.py"
ssh -p $TPORT $USER@$TIP \ "cd $TPATH/docker-compose/ &&
ssh -p $TPORT $USER@$TIP \ "cd $TPATH/docker-compose/ &&
ln -sf .. buildbot"
- name: start stack
Expand All @@ -146,9 +146,9 @@ jobs:
if: ${{ env.DEPLOY == 'true' && env.BB_ENV == 'DEV' }}
run: |
ssh -p $TPORT $TUSER@$TIP "cd $TPATH/docker-compose &&
docker-compose pull &&
docker-compose pull &&
docker-compose --env-file ${{ env.ENV_FILE }} up -d"
- name: clean
run: |
rm ~/.ssh/id_ed25519
rm ~/.ssh/id_ed25519

0 comments on commit 72f6297

Please sign in to comment.