fix build : copy some styles
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 15s
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 15s
This commit is contained in:
parent
3cc4da63fb
commit
16f01681dc
2 changed files with 10 additions and 7 deletions
|
|
@ -44,7 +44,10 @@ jobs:
|
|||
open -u $USERNAME,$PASSWORD $PRODUCTION_HOST;
|
||||
mirror --reverse --verbose --ignore-time --parallel=10 \
|
||||
-x 'local/' \
|
||||
-x 'css/' \
|
||||
-x 'css/src/' \
|
||||
-x 'css/style.css' \
|
||||
-x 'css/style.css.map' \
|
||||
-x 'css/style.scss' \
|
||||
assets assets;
|
||||
mirror --reverse --verbose --ignore-time --parallel=10 \
|
||||
-x 'accounts/' \
|
||||
|
|
|
|||
|
|
@ -16,13 +16,13 @@
|
|||
|
||||
<!-- APP -->
|
||||
<?php if (Dir::exists('assets/dist')): ?>
|
||||
<script type="module"
|
||||
src="<?= url('assets/dist/index.js') ?>" defer></script>
|
||||
<link rel="stylesheet"
|
||||
href="<?= url('assets/dist/index.css') ?>">
|
||||
<script type="module"
|
||||
src="<?= url('assets/dist/index.js') ?>" defer></script>
|
||||
<link rel="stylesheet"
|
||||
href="<?= url('assets/dist/index.css') ?>">
|
||||
<?php else: ?>
|
||||
<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/@vite/client" defer></script>
|
||||
<script type="module" src="http://localhost:5173/src/main.js" defer></script>
|
||||
<?php endif ?>
|
||||
</head>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue