Fix issue with checkout.

This commit is contained in:
Jan Eitzinger 2021-05-19 15:55:10 +02:00
parent 357534f2b3
commit c811a4e532

View File

@ -1,10 +1,15 @@
#!/usr/bin/env bash #!/usr/bin/env bash
rm -rf /var/www/symfony/* /var/www/symfony/.* rm -rf /var/www/symfony/* /var/www/symfony/.*
git clone https://github.com/ClusterCockpit/ClusterCockpit.git /var/www/symfony/. # git clone https://github.com/ClusterCockpit/ClusterCockpit.git /var/www/symfony/.
cd /var/www/symfony cd /var/www/symfony
git checkout feature-47-introduce-graphql-api
composer install --no-dev --optimize-autoloader git init
git remote add origin https://github.com/ClusterCockpit/ClusterCockpit.git
git fetch
git checkout feature-47-introduce-graphql-api
composer install --no-dev --no-progress --optimize-autoloader
yarn install yarn install
yarn encore production yarn encore production
# bin/console doc:mig:mig --no-interaction # bin/console doc:mig:mig --no-interaction