Skip to content

Commit

Permalink
UHF-8762: Save dump to files folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Jan 24, 2024
1 parent ee16e6d commit 8bc84d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ jobs:
run: |
docker compose exec app bash -c "drush si minimal -y"
docker compose exec app bash -c "drush en helfi_test_content -y"
docker compose exec app bash -c "drush sql-dump --result-file=latest.sql"
# Save database dump to files folder to prevent permission issues.
docker compose exec app bash -c "drush sql-dump --result-file=/app/public/sites/default/files/latest.sql"
mv public/sites/default/files/latest.sql .
- name: Install Drupal from existing dump
working-directory: ${{ env.DRUPAL_ROOT }}
Expand Down

0 comments on commit 8bc84d5

Please sign in to comment.