-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
Showing
1 changed file
with
5 additions
and
5 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 |
---|---|---|
|
@@ -18,27 +18,27 @@ jobs: | |
- name: Docker compose | ||
uses: isbang/[email protected] | ||
with: | ||
compose-file: './docker-compose.yml' | ||
compose-file: './docker compose.yml' | ||
|
||
- name: Wait for DB to initialize | ||
run: | | ||
while ! docker-compose run --rm --user 33:33 wpcli wp db check; do | ||
while ! docker compose run --rm --user 33:33 wpcli wp db check; do | ||
echo "Waiting for DB to initialize..." | ||
sleep 1 | ||
done | ||
echo "DB is ready" | ||
- name: Setup WP | ||
run: | | ||
docker-compose run --rm --user 33:33 wpcli wp core install --url=http://localhost:8088 --title=WordPress --admin_user=admin [email protected] | ||
docker compose run --rm --user 33:33 wpcli wp core install --url=http://localhost:8088 --title=WordPress --admin_user=admin [email protected] | ||
- name: Activate plugin | ||
run: | ||
docker-compose run --rm --user 33:33 wpcli wp plugin activate jekyll-exporter | ||
docker compose run --rm --user 33:33 wpcli wp plugin activate jekyll-exporter | ||
|
||
- name: Export | ||
run: | | ||
docker-compose run --rm --user 33:33 wpcli wp jekyll-export > export.zip | ||
docker compose run --rm --user 33:33 wpcli wp jekyll-export > export.zip | ||
- name: Unzip | ||
run: | | ||
|