Skip to content

Commit

Permalink
Fixing issues with site install in GitHub Actions. #9
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-cox committed Oct 30, 2020
1 parent 67ddca2 commit c5abad5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
run: docker-compose up -d

- name: Create LocalGov Drupal project
run: docker exec -u docker -t drupal bash -c "mkdir -p /var/www/html && /usr/local/bin/composer create-project --stability dev localgovdrupal/localgov-project /var/www/html"
run: |
docker exec -t drupal -u root bash -c "mkdir -p /var/www/html && chown docker:docker /var/www/html"
docker exec -t drupal -u docker bash -c "/usr/local/bin/composer create-project --stability dev localgovdrupal/localgov-project /var/www/html"
- name: Run tests
run: ./run-tests.sh
Expand Down

0 comments on commit c5abad5

Please sign in to comment.