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