Add Docker credentials and fix CSRF trusted origin

This commit is contained in:
Ceferino Patino 2024-02-18 19:29:42 -06:00
commit b76a9c15c6
2 changed files with 2 additions and 1 deletions

View file

@ -41,6 +41,7 @@ jobs:
platform: linux/amd64,linux/arm64/v8 platform: linux/amd64,linux/arm64/v8
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
draft: draft:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test needs: test

View file

@ -11,7 +11,7 @@ ALLOWED_HOSTS = [
] ]
CSRF_TRUSTED_ORIGINS = [ CSRF_TRUSTED_ORIGINS = [
'https://csmb-housewars.c4patino.com/' 'https://csmb-housewars.c4patino.com',
] ]
DATABASES = { DATABASES = {