Skip to content

Commit

Permalink
UHF-9511: Merge branch 'main' of https://github.com/City-of-Helsinki/…
Browse files Browse the repository at this point in the history
…drupal-hdbt into UHF-9511
  • Loading branch information
khalima committed Oct 11, 2024
2 parents dfcd7c5 + 4971d98 commit df780cf
Show file tree
Hide file tree
Showing 18 changed files with 438 additions and 105 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
node-version-file: .nvmrc

- name: NPM Install
working-directory: ${{ env.THEME_FOLDER }}
run: |
npm install
Expand Down Expand Up @@ -166,7 +167,7 @@ jobs:
if: steps.evaluate-reference-images.outputs.generate-references != 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ env.THEME_FOLDER }}/backstop/full/
publish_dir: ${{ env.THEME_FOLDER }}/backstop/full
destination_dir: pull/${{github.event.number}}

- name: Update comment
Expand Down
4 changes: 2 additions & 2 deletions backstop/backstop_dynamic_config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-console */
const processArgs = process.argv.slice(2);
const envPath = '../../../../.env';
require('dotenv').config({ path: envPath }); // Get environment from instance .env file
require('@dotenvx/dotenvx').config({ path: envPath }); // Get environment from instance .env file
const backstop = require('backstopjs');

const TYPE = {
Expand Down Expand Up @@ -257,7 +257,7 @@ function getConfig(hostname, protocol, type) {
'url': `${protocol}://${hostname}/en/dc-components/dc-announcements`,
'removeSelectors': removeDefault,
'selectors': [
'#block-hdbt-subtheme-announcements'
'#block-announcements'
],
'selectorExpansion': expandComponents,
},
Expand Down
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/district-and-project-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/health-station-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/job-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/linkedevents.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/maternity-and-child-health-clinic-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/news-archive.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/ploughing-schedule.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/school-search.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit df780cf

Please sign in to comment.