From dd76ef6227c5d8cf241a07293f8f5b1dc7e30331 Mon Sep 17 00:00:00 2001 From: Sainan Date: Thu, 16 May 2024 17:18:09 +0200 Subject: [PATCH] improve: remove buildConfig.json from git I think it makes more sense for this file to be distributed with the cache file --- .github/workflows/build.yml | 1 + .gitignore | 3 ++- static/data/.gitkeep | 0 static/data/buildConfig.json | 5 ----- 4 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 static/data/.gitkeep delete mode 100644 static/data/buildConfig.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 795b187a..a5bff297 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,4 +16,5 @@ jobs: node-version: "20.x" - run: npm ci - run: cp config.json.example config.json + - run: echo '{"version":"","buildLabel":"","matchmakingBuildId":""}' > static/data/buildConfig.json - run: npm run build diff --git a/.gitignore b/.gitignore index 0b1cf50b..d1ec7373 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,8 @@ /.env /config.json -/static/data/*.bin +/static/data/** +!/static/data/.gitkeep yarn.lock /tmp diff --git a/static/data/.gitkeep b/static/data/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/static/data/buildConfig.json b/static/data/buildConfig.json deleted file mode 100644 index 405d395a..00000000 --- a/static/data/buildConfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "35.6.0", - "buildLabel": "2024.05.15.11.07/4mPWinb13ZgMDySNQo3VeA", - "matchmakingBuildId": "6945333874579955227" -}