Skip to content

Commit

Permalink
Merge pull request #279 from SELab-2/development
Browse files Browse the repository at this point in the history
Deployment
  • Loading branch information
francisvaut authored Apr 9, 2024
2 parents 2ea8bff + e24c736 commit 4de9e0d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/backend-linting.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: backend-linting

on:
push:
branches: [main, development]
pull_request:
branches: [main, development]
workflow_dispatch:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deployement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:
deploy:
Expand All @@ -18,6 +19,6 @@ jobs:
script: |
cd UGent-7
docker-compose -f production.yml down
git pull
git pull --force
docker-compose -f production.yml build --no-cache
docker-compose -f production.yml up -d
2 changes: 0 additions & 2 deletions .github/workflows/frontend-linting.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: frontend-linting

on:
push:
branches: [main, development]
pull_request:
branches: [main, development]
workflow_dispatch:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: tests

on:
push:
branches: [main, development]
pull_request:
branches: [main, development]
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ services:
build:
context: $BACKEND_DIR
dockerfile: Dockerfile
command: sh -c "./setup.sh && gunicorn --config gunicorn_config.py ypovoli.wsgi:application"
command: bash -c "./setup.sh && gunicorn --config gunicorn_config.py ypovoli.wsgi:application"
expose:
- 8080
depends_on:
Expand Down

0 comments on commit 4de9e0d

Please sign in to comment.