Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drush CR #1854

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions benefit-finder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,9 @@
"cy:dev:storybook": "NODE_ENV=test npm run cy:prebuild:storybook && storybook dev -p 6006",
"cy:build:storybook": "NODE_ENV=test npm run cy:prebuild:storybook && storybook build --test",
"cy:run:e2e": "NODE_ENV=test npx cypress run --browser chrome",
"cy:run": "NODE_ENV=test npm run cy:run:e2e",
"cy:run:prod:e2e": "NODE_ENV=test npx cypress run --config-file cypress.prod.links.config.js --browser chrome",
"cy:run:prod:links:e2e": "NODE_ENV=test npx cypress run --config-file cypress.prod.links.config.js --browser chrome",
"cy:run:pipeline": "NODE_ENV=test concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"http-server ./storybook-static --port 6006 --silent\" -Y",
"cy:run:edge:e2e": "NODE_ENV=test npx cypress run --browser edge",
"cy:run:firefox:e2e": "NODE_ENV=test npx cypress run --browser firefox",
"cy:run:webkit-safari:e2e": "NODE_ENV=test npx cypress run --browser webkit",
"cy:run:cross-browser:e2e": "NODE_ENV=test npm run cy:run:e2e && npm run cy:run:edge:e2e && npm run cy:run:firefox:e2e && cy:run:webkit-safari:e2e"
"cy:run:pipeline": "NODE_ENV=test concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"http-server ./storybook-static --port 6006 --silent\" -Y"
},
"dependencies": {
"@uswds/uswds": "^3.8.2",
Expand Down
1 change: 1 addition & 0 deletions scripts/drush-post-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
## It reads lines based on new lines.

echo "Updating drupal ... "
drush cr
drush state:set system.maintenance_mode 1 -y
drush cr
drush updatedb --no-cache-clear -y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ public function getData($id) {
"benefits" => $benefits,
];
$json = json_encode($result, JSON_PRETTY_PRINT);
$json = htmlspecialchars($json);

if ($this->displayData) {
print_r("<p>JSON Data<pre>");
Expand Down
Loading