Author SHA1 Message Date
krzysiej e731516b9d Update composer
/ test-job (push) Successful in 1s
/ deploy-job (push) Successful in 1s
2026-04-21 16:27:45 +02:00
krzysiejandkrzysiej 028297a4fe Update composer
/ deploy-job (push) Successful in 2s
2026-03-06 08:57:40 +01:00
krzysiej c16ab192ed Add scrape time to footer
/ deploy-job (push) Successful in 1s
2026-03-04 07:33:10 +01:00
3 changed files with 10 additions and 2 deletions
+4 -1
View File
@@ -4,11 +4,14 @@ on:
- master
workflow_dispatch:
jobs:
deploy-job:
test-job:
runs-on: server
steps:
- name: initial test
run: echo "test"
deploy-job:
runs-on: server
steps:
- name: get page
run: curl http://192.168.0.129:9001/update
- run: pwd
+2
View File
@@ -76,6 +76,8 @@ class ScrapeWebsite extends Command
$output->writeln('Update prices - DONE');
$output->writeln('COMMAND - DONE');
file_put_contents('templates/lastscrape.html.twig', date('Y-m-d H:i:s'));
return Command::SUCCESS;
}
+4 -1
View File
@@ -1,9 +1,12 @@
<div class="container">
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
<div class="col-md-4 d-flex align-items-center">
<span class="mb-3 mb-md-0 text-body-secondary">© 2025 Company, Inc</span>
<span class="mb-md-0 text-body-secondary">© 2025 Company, Inc</span>
<a class="align-items-center text-decoration-none" data-bs-theme-value="light">☀️ Light</a>
<a class="align-items-center text-decoration-none" data-bs-theme-value="dark">🌕 Dark</a>
</div>
<div class="col-md-4 text-end text-muted">
{{ include('lastscrape.html.twig', ignore_missing: true) }}
</div>
</footer>
</div>