1er commit et test du staging
Some checks failed
Déploiement Hugo Staging / deploy-staging (push) Has been cancelled

This commit is contained in:
Julien Martin 2025-05-19 12:27:52 +02:00
parent 96e971c99e
commit 936ecb48fe
4 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,18 @@
name: Déploiement Hugo Staging
on:
push:
branches:
- master
jobs:
deploy-staging:
runs-on: self-hosted
steps:
- name: Récupération du code
uses: actions/checkout@v2
- name: Déploiement sur staging
run: |
cd /home/deploy/staging
git pull gitea master
docker compose -f docker-compose.staging.yml up -d

3
config.toml Normal file
View File

@ -0,0 +1,3 @@
baseURL = "https://ptits-pas.fr/"
languageCode = "fr"
title = "Mon Super Site"

14
content/_index.md Normal file
View File

@ -0,0 +1,14 @@
---
title: "Bienvenue sur Ptits-Pas"
date: 2025-05-17T12:00:00+02:00
---
# Salut ! On teste que tout fonctionne bien comme il faut :p
Bienvenue sur mon site **Ptits-Pas**, propulsé par Hugo !
- Cest ici que je présente mes projets
- Un lien vers [Gitea](https://git.ptits-pas.fr)
- Un lien vers [Taiga](https://projets.ptits-pas.fr)
> Pour modifier cette page, édite `content/_index.md`.

15
layouts/index.html Normal file
View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>{{ .Title }}</title>
</head>
<body>
<main>
{{ .Content }}
</main>
<footer>
© 2025 Ptits-Pas
</footer>
</body>
</html>