Fixes
This commit is contained in:
parent
80bf56a9a4
commit
fc6394761e
@ -1,4 +1,4 @@
|
||||
name: Gitea Actions Demo
|
||||
name: Gitea Actions
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
@ -13,6 +13,9 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: Clean Up
|
||||
run: |
|
||||
docker container stop $(docker container ls -aq) && docker system prune -af --volumes
|
||||
- name: Init
|
||||
run: |
|
||||
make make-init ENVS="ENV=ci TAG=latest"
|
||||
@ -47,6 +50,9 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: Clean Up
|
||||
run: |
|
||||
docker container stop $(docker container ls -aq) && docker system prune -af --volumes
|
||||
- name: Init
|
||||
run: |
|
||||
make make-init ENVS="ENV=ci TAG=latest"
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Dotenv\Dotenv;
|
||||
|
||||
$_SERVER['PANTHER_WEB_SERVER_DIR'] = __DIR__ .'/../web/';
|
||||
require dirname(__DIR__).'/vendor/autoload.php';
|
||||
|
||||
@ -13,8 +14,6 @@ if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
|
||||
if (file_exists(__DIR__ . '/../var/test.sqlite')) {
|
||||
unlink(__DIR__ . '/../var/test.sqlite');
|
||||
}
|
||||
//system('sqlite3 '. __DIR__ . '/../var/test.sqlite < ' . __DIR__ .'/article.sql');
|
||||
//system('sqlite3 '. __DIR__ . '/../var/test.sqlite < ' . __DIR__ .'/sqlite.sql');
|
||||
system('mysql -u root --password=Wichtig1 -h mysql --execute="drop database psc_test"');
|
||||
system('mysql -u root --password=Wichtig1 -h mysql --execute="create database psc_test"');
|
||||
system('mysql -u root --password=Wichtig1 -h mysql psc_test < '.__DIR__.'/mysql.sql');
|
||||
system('mysql -u psc --password=psc -h mysql --execute="drop database psc_test"');
|
||||
system('mysql -u psc --password=psc -h mysql --execute="create database psc_test"');
|
||||
system('mysql -u psc --password=psc -h mysql psc_test < '.__DIR__.'/mysql.sql');
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
</div>
|
||||
<div class="card mt-1">
|
||||
<div class="card-header">
|
||||
{{'Kalkuations Status'|trans}}
|
||||
{{'Kalkulations Status'|trans}}
|
||||
</div>
|
||||
<div id="calcStatus" class="p-2">
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user