Merge branch 'pre-prod' of https://gitea.woutervermeer.com/woutervermeer/Quatsh-Website into pre-prod
Some checks failed
Gitea build & Test. / tests (push) Failing after 3s
Some checks failed
Gitea build & Test. / tests (push) Failing after 3s
This commit is contained in:
@@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- pre-prod
|
- pre-prod
|
||||||
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -15,3 +16,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
run: make test
|
run: make test
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: make prod
|
||||||
@@ -31,5 +31,8 @@ jobs:
|
|||||||
echo "Building containers..."
|
echo "Building containers..."
|
||||||
make prod
|
make prod
|
||||||
|
|
||||||
|
echo "Running Django deploy check"
|
||||||
|
docker compose run --rm web python manage.py check --deploy
|
||||||
|
|
||||||
echo "Deployment complete."
|
echo "Deployment complete."
|
||||||
EOF
|
EOF
|
||||||
Reference in New Issue
Block a user