Skip to content

Commit

Permalink
chore: change deployment branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Mar 23, 2024
1 parent f1f29cd commit 53d6d8b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deployement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy
on:
push:
branches:
- main
- deployment

jobs:
deploy:
Expand All @@ -16,8 +16,9 @@ jobs:
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.PORT }}
script: |
cd UGent-7
cd test
git checkout deployment
docker-compose -f production.yml down
${{ secrets.PULL_SCRIPT }}
git pull
docker-compose -f production.yml build --no-cache
docker-compose -f production.yml up -d

0 comments on commit 53d6d8b

Please sign in to comment.