fix build : copy some styles
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 15s

This commit is contained in:
isUnknown 2026-01-08 16:05:55 +01:00
parent 3cc4da63fb
commit 16f01681dc
2 changed files with 10 additions and 7 deletions

View file

@ -44,7 +44,10 @@ jobs:
open -u $USERNAME,$PASSWORD $PRODUCTION_HOST; open -u $USERNAME,$PASSWORD $PRODUCTION_HOST;
mirror --reverse --verbose --ignore-time --parallel=10 \ mirror --reverse --verbose --ignore-time --parallel=10 \
-x 'local/' \ -x 'local/' \
-x 'css/' \ -x 'css/src/' \
-x 'css/style.css' \
-x 'css/style.css.map' \
-x 'css/style.scss' \
assets assets; assets assets;
mirror --reverse --verbose --ignore-time --parallel=10 \ mirror --reverse --verbose --ignore-time --parallel=10 \
-x 'accounts/' \ -x 'accounts/' \

View file

@ -16,13 +16,13 @@
<!-- APP --> <!-- APP -->
<?php if (Dir::exists('assets/dist')): ?> <?php if (Dir::exists('assets/dist')): ?>
<script type="module" <script type="module"
src="<?= url('assets/dist/index.js') ?>" defer></script> src="<?= url('assets/dist/index.js') ?>" defer></script>
<link rel="stylesheet" <link rel="stylesheet"
href="<?= url('assets/dist/index.css') ?>"> href="<?= url('assets/dist/index.css') ?>">
<?php else: ?> <?php else: ?>
<script type="module" src="http://localhost:5173/@vite/client" defer></script> <script type="module" src="http://localhost:5173/@vite/client" defer></script>
<script type="module" src="http://localhost:5173/src/main.js" defer></script> <script type="module" src="http://localhost:5173/src/main.js" defer></script>
<?php endif ?> <?php endif ?>
</head> </head>