From e44a2828e0a98d1304e007e9ed71e7f4caf44094 Mon Sep 17 00:00:00 2001 From: Pedro Delgado Date: Mon, 6 May 2024 19:59:54 +0000 Subject: [PATCH] Prod env variables moved to .env --- .env | 2 ++ .github/workflows/deploy.yml | 5 +---- .gitignore | 1 - example.env | 2 -- 4 files changed, 3 insertions(+), 7 deletions(-) create mode 100644 .env delete mode 100644 example.env diff --git a/.env b/.env new file mode 100644 index 0000000..9206a73 --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +VITE_KT_API_ENDPOINT=https://api.kujira-track.app/ +VITE_KT_API_OPENAPI_JSON=https://api.kujira-track.app/openapi/json \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bf58f8b..bee324d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,10 +10,7 @@ on: jobs: build: runs-on: ubuntu-latest - env: - - VITE_KT_API_ENDPOINT: https://api.kujira-track.app - - VITE_KT_API_OPENAPI_JSON: https://api.kujira-track.app/openapi/json - + strategy: matrix: node-version: [20.x] diff --git a/.gitignore b/.gitignore index da199d0..81cc841 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ lerna-debug.log* node_modules dist dist-ssr -.env *.local # Editor directories and files diff --git a/example.env b/example.env deleted file mode 100644 index 70abfdf..0000000 --- a/example.env +++ /dev/null @@ -1,2 +0,0 @@ -VITE_KT_API_ENDPOINT=localhost -VITE_KT_API_OPENAPI_JSON=localhost/json \ No newline at end of file