From 0d3daf5fa3d830e52709bea69157ac78b7a18367 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 11 May 2022 12:11:49 +0100 Subject: [PATCH] move config files into config/ --- .github/workflows/netlify-main.yaml | 2 +- Dockerfile | 2 +- {scripts => config}/default.conf | 0 {scripts => config}/netlify_redirects | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename {scripts => config}/default.conf (100%) rename {scripts => config}/netlify_redirects (100%) diff --git a/.github/workflows/netlify-main.yaml b/.github/workflows/netlify-main.yaml index f2b191f6..d05edbf6 100644 --- a/.github/workflows/netlify-main.yaml +++ b/.github/workflows/netlify-main.yaml @@ -46,7 +46,7 @@ jobs: run: unzip -d dist build.zip && rm build.zip - name: Copy redirects file - run: cp scripts/netlify_redirects dist/_redirects + run: cp config/netlify_redirects dist/_redirects - name: Deploy to Netlify id: netlify diff --git a/Dockerfile b/Dockerfile index 6125b970..e31506cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN element-call/scripts/dockerbuild.sh FROM nginxinc/nginx-unprivileged:alpine COPY --from=builder /src/element-call/dist /app -COPY scripts/default.conf /etc/nginx/conf.d/ +COPY config/default.conf /etc/nginx/conf.d/ USER root diff --git a/scripts/default.conf b/config/default.conf similarity index 100% rename from scripts/default.conf rename to config/default.conf diff --git a/scripts/netlify_redirects b/config/netlify_redirects similarity index 100% rename from scripts/netlify_redirects rename to config/netlify_redirects