Add Docker credentials and fix CSRF trusted origin
This commit is contained in:
parent
4cb149f279
commit
b76a9c15c6
2 changed files with 2 additions and 1 deletions
1
.github/workflows/build-deploy.yml
vendored
1
.github/workflows/build-deploy.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ ALLOWED_HOSTS = [
|
||||||
]
|
]
|
||||||
|
|
||||||
CSRF_TRUSTED_ORIGINS = [
|
CSRF_TRUSTED_ORIGINS = [
|
||||||
'https://csmb-housewars.c4patino.com/'
|
'https://csmb-housewars.c4patino.com',
|
||||||
]
|
]
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
|
|
|
||||||
Reference in a new issue