Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9aca8bc1b4 | |||
| 8f2a0eeb16 | |||
| d9dd92bd6d | |||
| c074d97ab0 | |||
| 1bde51259d | |||
| 11d6a67612 | |||
| e1351b7d70 | |||
| 9c1da6fc3d | |||
| e3ba726f49 | |||
| be0b865895 | |||
| c87afa379a | |||
| 93ecdb17ce | |||
| b0f600371b | |||
| 501a707783 | |||
| 1f826a1db6 |
37
.gitea/workflows/dev.yml
Normal file
37
.gitea/workflows/dev.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Website
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [dev]
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /opt/runner/workdir/fte-homepage-dev
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
name: Website veröffentlichen
|
||||
if: gitea.repository == 'fte/FTE-Homepage'
|
||||
runs-on: act-runner
|
||||
steps:
|
||||
- name: Pull
|
||||
run: |
|
||||
git fetch --all
|
||||
git reset --hard origin/dev
|
||||
- name: NPM install
|
||||
run: |
|
||||
npm i
|
||||
- name: Build
|
||||
run: |
|
||||
rm -rf public
|
||||
hugo --minify --gc --baseURL="https://dev.ftecke.de"
|
||||
- name: Deploy
|
||||
run: |
|
||||
cd public
|
||||
rsync -azr --delete ./ /var/www/html/dev.ftecke.de/
|
||||
# - name: Notification
|
||||
# uses: actions/telegram-action@main
|
||||
# if: always()
|
||||
# with:
|
||||
# chat_id: ${{ secrets.TG_CHAT_ID }}
|
||||
# token: ${{ secrets.TG_TOKEN }}
|
||||
@@ -2,4 +2,4 @@
|
||||
title = "Impressum und Datenschutzerklärung"
|
||||
+++
|
||||
|
||||
jooo
|
||||
Derzeit nicht verfügbar.
|
||||
|
||||
@@ -16,19 +16,28 @@
|
||||
|
||||
<body>
|
||||
{{- partial "alert.html" . -}}
|
||||
{{- partial "header.html" . -}}
|
||||
<!-- {{- partial "header.html" . -}} -->
|
||||
<div class="scroll-top rounded-full">
|
||||
<span class="icon-keyboard_arrow_up text-2xl"></span>
|
||||
</div>
|
||||
{{- partial "slide.html" . -}}
|
||||
<!-- {{- partial "slide.html" . -}} -->
|
||||
<!-- {{- partial "strip.html" . -}} -->
|
||||
{{ if ne .Site.Params.showBlog false }}
|
||||
<div class="mx-auto my-10 max-w-6xl">
|
||||
<h2 class="text-4xl ml-2">Blog</h2>
|
||||
{{- partial "recent.html" . -}}
|
||||
<h1 class="text-4xl font-bold">Ups! Diese Website wird gerade noch entwickelt.</h1>
|
||||
<hr>
|
||||
<br>
|
||||
<p class="text-2xl font-bold">Trotzdem Interesse? Hier meine Kontaktdaten:</p>
|
||||
<ul>
|
||||
<li>Email: <span class="text-white-custom">kontakt@ftecke.de</span></li>
|
||||
<li>Telefon: +49 3475 2028989</li>
|
||||
<li>WhatsApp: +49 176 45960424</li>
|
||||
<li>Facebook: <a class="text-white-custom" href="https://www.facebook.com/p/Dj-Ecke-100069638587825/">www.facebook.com</a></li>
|
||||
</ul>
|
||||
<!-- {{- partial "recent.html" . -}} -->
|
||||
</div>
|
||||
{{ end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
<!-- {{- partial "footer.html" . -}} -->
|
||||
<script src="{{ "/js/swiper-bundle.min.js" | relURL }}"></script>
|
||||
<script>
|
||||
var mySwiper = new Swiper(".swiper-container", {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<header>
|
||||
<meta http-equiv="refresh" content="0;url=https://www.ftecke.de">
|
||||
<div id="overlay">
|
||||
<ul class="text-center list-none text-white text-3xl">
|
||||
{{ range .Site.Menus.main }}
|
||||
|
||||
Reference in New Issue
Block a user