Skip to content

Commit

Permalink
chore(testing): updates gh vars and workflow for ref generation
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Sep 24, 2023
1 parent b836dce commit 35aed62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions _ci/backstop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"mon": "pm2 monit",
"pm2": "node ./node_modules/pm2/bin/pm2",
"ref": "ENVIRONMENT=\"$ENV\" backstop reference --config=backstop.config.js",
"ref.gh": "ENVIRONMENT=gh-\"$ENV\" backstop reference --config=backstop.config.js",
"remote": "ENVIRONMENT=\"$ENV\" backstop remote --config=backstop.config.js",
"serve": "http-server -b -S -p 443 -a local.dgrebb.com -C ../../front/local.dgrebb.com.crt -K ../../front/local.dgrebb.com.key --cors='*' ../../front/build",
"start": "ENVIRONMENT=\"$ENV\" pm2 start ecosystem.config.js && pm2 monit",
Expand Down
4 changes: 2 additions & 2 deletions _ci/backstop/scenarios/vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ switch (env) {
break;

case 'gh-staging':
ID = 'Github STG';
ID = 'GitHub STG';
URL = 'https://stg.dgrebb.com';
envDir = 'gh-stg';
break;
Expand All @@ -22,7 +22,7 @@ switch (env) {
break;

case 'gh-production':
ID = 'Github PRD';
ID = 'GitHub PRD';
URL = 'https://www.dgrebb.com';
envDir = 'gh-prod';
break;
Expand Down

0 comments on commit 35aed62

Please sign in to comment.