We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce3356e commit 09457e9Copy full SHA for 09457e9
.github/workflows/pimcore-demo.yml
@@ -89,3 +89,14 @@ jobs:
89
-e PIMCORE_INSTALL_MYSQL_PASSWORD=pimcore \
90
-- \
91
php vendor/bin/pimcore-install -n --mysql-host-socket=db --mysql-database=pimcore
92
+
93
+ # Change owner
94
+ sudo chown -R www-data .
95
96
+ # Check if website is reachable
97
+ response=$(docker-compose exec -T -- php bash -c 'curl -s "nginx:80"')
98
99
+ if [[ ! $response =~ "Satisfaction" ]]; then
100
+ echo "Install failed, skipping build"
101
+ exit 1;
102
+ fi
0 commit comments