Skip to content

Commit

Permalink
UHF-9564: Fixed translations folder issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Apr 4, 2024
1 parent 7c5fc01 commit 789c38c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/update-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
run: |
gh run download -n latest.sql
- name: Prepare setup
run: |
# We install Drupal from existing dump, so locale_install() hook
# is never fired. Make sure the translations folder exists.
mkdir -p public/sites/default/files/translations -p
- name: Build project
run: |
composer install --no-interaction
Expand Down
1 change: 1 addition & 0 deletions tools/make/project/install.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ drush-helfi-enable-modules: ## Enable modules and base configurations.
PHONY += drush-locale-update
drush-locale-update: ## Update translations.
$(call step,Update translations...)
@mkdir -p public/sites/default/files/translations
$(call drush,state:set locale.translation_last_checked 0)
$(call drush,locale:check)
$(call drush,locale:update)
Expand Down

0 comments on commit 789c38c

Please sign in to comment.