5 Commits

Author SHA1 Message Date
c1e1ab081f style(home.html.twig): adjust centering of container element (#2)
Co-authored-by: Jan Klattenhoff <j.klattenhoff@neusta.de>
Reviewed-on: #2
2024-12-20 07:03:38 +00:00
4826805f57 Merge pull request 'main' (#1) from sites/file-explorer:main into main
Reviewed-on: #1
2024-12-20 06:54:18 +00:00
ca9a18987b refactor pipelines
Reviewed-on: sites/file-explorer#10
2024-12-19 13:06:24 +00:00
0e53f0a199 fix pipelines
Reviewed-on: sites/file-explorer#9
2024-12-11 21:21:41 +00:00
831466cba9 change ddev db version bc idk 2024-12-11 22:01:24 +01:00
6 changed files with 15 additions and 44 deletions

View File

@ -7,8 +7,8 @@ xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
database:
type: mariadb
version: "10.11"
type: postgres
version: "17"
use_dns_when_possible: true
composer_version: "2"
web_environment: []

2
.env
View File

@ -19,4 +19,4 @@ APP_ENV=dev
APP_SECRET=bfc9c288ee3dcce80dec8622c2870f27
###< symfony/framework-bundle ###
DATA_DIR=/var/www/data
DATA_DIR='/var/www/html/data'

View File

@ -1,16 +1,16 @@
name: build
on: push
# pull_request:
# types:
# - closed
# branches:
# - main
on:
pull_request:
types:
- closed
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
runs-on: remote
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v1
- uses: https://git.simonis.lol/actions/checkout@v4
- uses: https://git.simonis.lol/actions/login@v1
with:
registry: git.simonis.lol
username: ${{ vars.DOCKER_USER }}
@ -20,4 +20,4 @@ jobs:
run: docker build -t git.simonis.lol/sites/file-explorer:latest .
- name: push
run: docker push git.simonis.lol/sites/file-explorer:latest
run: docker push git.simonis.lol/sites/file-explorer:latest

View File

@ -18,9 +18,3 @@ RUN pecl install apcu && docker-php-ext-enable apcu
WORKDIR /var/www/project
RUN composer install --optimize-autoloader --no-suggest --no-progress
RUN composer dump-env prod
RUN php bin/console tailwind:build
RUN php bin/console asset-map:compile
RUN mkdir -p /var/www/data
RUN chown -R www-data:www-data /var/www/data
RUN chown -R www-data:www-data .

View File

@ -1,23 +0,0 @@
<?php
declare(strict_types=1);
namespace App;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Event\ExceptionEvent;
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
use Symfony\Component\HttpKernel\KernelEvents;
class test implements EventSubscriberInterface
{
public static function getSubscribedEvents()
{
return [KernelEvents::EXCEPTION => 'x'];
}
public function x(ExceptionEvent $event)
{
dd($event->getThrowable());
}
}

View File

@ -3,7 +3,7 @@
{% block title %}Home{% endblock %}
{% block body %}
<center class="container mt-5">
<center class="container mt-5 mx-auto">
{% include '_partials/_table.html.twig' %}
</center>
{% endblock %}
{% endblock %}