From 57bd83da62b537b974b2070d6720b1622bdda331 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Mon, 11 Apr 2022 12:44:47 +0100 Subject: [PATCH] Rename actions and include production env (no secrets) --- .github/workflows/backend-docker-image.yml | 2 +- .github/workflows/frontend-docker-image.yml | 2 +- .gitignore | 3 +-- frontend/.env.production | 4 ++++ frontend/.gitignore | 2 -- 5 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 frontend/.env.production diff --git a/.github/workflows/backend-docker-image.yml b/.github/workflows/backend-docker-image.yml index a658cbc..d932b7d 100644 --- a/.github/workflows/backend-docker-image.yml +++ b/.github/workflows/backend-docker-image.yml @@ -1,4 +1,4 @@ -name: Docker Image CI +name: Build Backend Docker Image on: push: diff --git a/.github/workflows/frontend-docker-image.yml b/.github/workflows/frontend-docker-image.yml index eab17cb..af07fc1 100644 --- a/.github/workflows/frontend-docker-image.yml +++ b/.github/workflows/frontend-docker-image.yml @@ -1,4 +1,4 @@ -name: Docker Image CI +name: Build Frontend Docker Image on: push: diff --git a/.gitignore b/.gitignore index 19901ac..610897d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ files -certs -frontend/.env.production +certs \ No newline at end of file diff --git a/frontend/.env.production b/frontend/.env.production new file mode 100644 index 0000000..38fdec9 --- /dev/null +++ b/frontend/.env.production @@ -0,0 +1,4 @@ +BROWSER=none +HTTPS=false +REACT_APP_API_URL=https://api.streams.fergl.ie +REACT_APP_SERVER_URL=http://localhost:9531 \ No newline at end of file diff --git a/frontend/.gitignore b/frontend/.gitignore index 3ea2076..361578c 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -21,6 +21,4 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -env.production -.env.production .vscode/ \ No newline at end of file