-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b63aba
commit c460452
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
## Description: Installs CE recipe and opens it in a browser. | ||
|
||
ddev delete -O -y | ||
chmod -R 777 web/sites/default | ||
rm web/sites/default/settings.php | ||
rm -rf web/sites/default/files | ||
rm -rf vendor | ||
ddev start | ||
ddev composer install | ||
cd web && php -d memory_limit=512M core/scripts/drupal install recipes/contrib/frees-auce-recipes/ce | ||
ddev drush uli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Recipe Test | ||
on: | ||
push | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Composer install | ||
uses: kohlerdominik/docker-run-action@v1 | ||
with: | ||
image: composer | ||
shell: /bin/bash | ||
workdir: /app | ||
volumes: | ||
${{ github.workspace }}:/app | ||
run: | | ||
composer install --ignore-platform-reqs | ||
- name: Recipe install | ||
uses: kohlerdominik/docker-run-action@v1 | ||
with: | ||
image: bitnami/php-fpm:8.2 | ||
shell: /bin/bash | ||
workdir: /app | ||
volumes: | ||
${{ github.workspace }}:/app | ||
run: | | ||
cd web && php -d memory_limit=512M core/scripts/drupal install recipes/contrib/frees-auce-recipes/ce |