Skip to content

Commit

Permalink
Merge pull request #23 from Qwizi/feature
Browse files Browse the repository at this point in the history
Feature
  • Loading branch information
Qwizi authored Jun 11, 2024
2 parents a5e5aea + f959b2c commit 2f7e8b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
- name: Update version in pyproject.toml
run: |
poetry version patch
- name: Update qwizii/sharkservers image version
run: |
sed -i "s/qwizii\/dealhub:.*$/qwizii\/dealhub:v$(poetry version -s)/" docker-compose.prod.yml
sed -i "s/qwizii\/dealhub:.*$/qwizii\/dealhub:v$(poetry version -s)/" coolify/docker-compose.yml
- name: Commit and push changes
run: |
git config --global user.email "github@actions.com"
Expand Down
2 changes: 1 addition & 1 deletion coolify/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ networks:

volumes:
static_volume:
dealhub_pgdata:
dealhub_pgdata:
2 changes: 1 addition & 1 deletion src/dealhub/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
DEBUG = os.environ.get("DEBUG", "True") == "True"

CSRF_TRUSTED_ORIGINS = os.environ.get(
"CSRF_TRUSTED_ORIGINS", "http://localhost:8000"
"CSRF_TRUSTED_ORIGINS", "https://dealhub.qwizi.ovh,https://*.qwizi.ovh"
).split(",")

ALLOWED_HOSTS = ["*"]
Expand Down

0 comments on commit 2f7e8b2

Please sign in to comment.