From 3673b24bf2cc852d97b1d383fa2a5edf189c52c4 Mon Sep 17 00:00:00 2001 From: Geoff Kendal Date: Wed, 31 Jan 2024 23:50:41 +0000 Subject: [PATCH] done --- .github/workflows/build.yml | 6 ++++-- frontend/public/config.js | 2 +- terraform/public_html/index.html | 4 ---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ece354a..24ede4b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,5 +70,7 @@ jobs: path: accreditation - name: Copy to S3 - run: pwd && ls -la && aws s3 sync accreditation s3://stumblefunk-www-dev/accreditation - \ No newline at end of file + run: aws s3 sync accreditation s3://stumblefunk-www-dev/accreditation + + - name: Load env config + run: aws s3 cp s3://stumblefunk-www-dev/accreditation/config.js.env s3://stumblefunk-www-dev/accreditation/config.js \ No newline at end of file diff --git a/frontend/public/config.js b/frontend/public/config.js index 72a1774..e8eadf1 100644 --- a/frontend/public/config.js +++ b/frontend/public/config.js @@ -1,3 +1,3 @@ var config = { - apiUrl: "https://nf2c6o0vt2.execute-api.eu-west-1.amazonaws.com/dev" + apiUrl: "" } \ No newline at end of file diff --git a/terraform/public_html/index.html b/terraform/public_html/index.html index 3095992..031f77f 100644 --- a/terraform/public_html/index.html +++ b/terraform/public_html/index.html @@ -6,10 +6,6 @@ Stumblefunk