From 79c48d27005cb2961eebc697c5fbd60fe3ef46ce Mon Sep 17 00:00:00 2001 From: s1lvax Date: Fri, 11 Oct 2024 10:45:19 +0200 Subject: [PATCH] ,... --- .github/workflows/deploy.yml | 9 +++++---- svelte.config.js | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bc22031..e3ce627 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,9 @@ name: Deploy App -#on: -# push: -# branches: -# - main # or your deployment branch +on: + push: + branches: + - main # or your deployment branch jobs: deploy: @@ -38,6 +38,7 @@ jobs: echo "CLIENT_ID=${{ secrets.CLIENT_ID }}" >> .env echo "CLIENT_SECRET=${{ secrets.CLIENT_SECRET }}" >> .env echo "DATABASE_URL=${{ secrets.DATABASE_URL }}" >> .env + echo "AUTH_TRUST_HOST=${{ secrets.AUTH_TRUST_HOST }}" >> .env docker build -t route . docker stop route || true diff --git a/svelte.config.js b/svelte.config.js index c2db680..fffb849 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,4 +1,4 @@ -import adapter from '@sveltejs/adapter-cloudflare'; +import adapter from '@sveltejs/adapter-node'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; /** @type {import('@sveltejs/kit').Config} */