From 38e330929f1aca314186008507d9ccb4c7d9394d Mon Sep 17 00:00:00 2001 From: Gail Terman Date: Thu, 4 Apr 2024 20:25:04 -0400 Subject: [PATCH 1/5] Update deploy.yml --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5ca38a76c..44e3765b7 100755 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -112,6 +112,7 @@ jobs: DEVISE_SECRET=${{ env.DEVISE_SECRET }} RAILS_ENV=production NODE_ENV=development + PLANO_VERSION=${{ github.ref_name }} push: false load: true # target: development From b0e60c04ad47516a6c73d614ad82aae2f5c5821b Mon Sep 17 00:00:00 2001 From: Gail Terman Date: Sun, 7 Apr 2024 18:43:45 -0400 Subject: [PATCH 2/5] actually commit things --- app/javascript/administration/about_link.vue | 29 +++++++ app/javascript/navbar/top-navbar.vue | 4 +- config/webpack/environment.js | 3 +- deploy_script_attempt_1.sh | 18 +++++ docker-compose-prod.yml | 1 + docker-compose-staging-prev.yml | 82 ++++++++++++++++++++ docker-compose-staging.yml | 5 +- 7 files changed, 138 insertions(+), 4 deletions(-) create mode 100644 app/javascript/administration/about_link.vue create mode 100755 deploy_script_attempt_1.sh create mode 100644 docker-compose-staging-prev.yml diff --git a/app/javascript/administration/about_link.vue b/app/javascript/administration/about_link.vue new file mode 100644 index 000000000..4341af7d0 --- /dev/null +++ b/app/javascript/administration/about_link.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/app/javascript/navbar/top-navbar.vue b/app/javascript/navbar/top-navbar.vue index 59741027d..65741bf5d 100644 --- a/app/javascript/navbar/top-navbar.vue +++ b/app/javascript/navbar/top-navbar.vue @@ -8,7 +8,7 @@ - About + Logout @@ -22,6 +22,7 @@ diff --git a/config/webpack/environment.js b/config/webpack/environment.js index d9904b597..9f91ca8d5 100644 --- a/config/webpack/environment.js +++ b/config/webpack/environment.js @@ -11,6 +11,7 @@ environment.loaders.prepend('erb', erb) var path = require('path'); +// NOTE: this is the build env environment.plugins.prepend('env', new webpack.DefinePlugin({ 'NODE_ENV': JSON.stringify(process.env.NODE_ENV),