Skip to content

Commit

Permalink
fix branch issues with the cd pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarahligbe authored Aug 9, 2024
1 parent 3755239 commit 80317ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.dev.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Dev cd pipeline
on:
push:
branches: [devops]
branches: [dev]

jobs:
build-and-deploy:
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
password: ${{ secrets.PASSWORD }}
script: |
cd /home/${{ secrets.USERNAME }}/boilerplate-python/dev_source_code
git pull origin devops
git pull origin dev
docker load --input dev.tar.gz
docker-compose -f docker-compose.yml up -d
rm -f dev.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.prod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Prod cd pipeline
on:
push:
branches: [dev]
branches: [main]

jobs:
build-and-deploy:
Expand Down

0 comments on commit 80317ed

Please sign in to comment.