1er commit et test du staging
Some checks failed
Déploiement Hugo Staging / deploy-staging (push) Has been cancelled
Some checks failed
Déploiement Hugo Staging / deploy-staging (push) Has been cancelled
This commit is contained in:
parent
96e971c99e
commit
936ecb48fe
18
.gitea/workflows/deploy.yml
Normal file
18
.gitea/workflows/deploy.yml
Normal 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
3
config.toml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
baseURL = "https://ptits-pas.fr/"
|
||||||
|
languageCode = "fr"
|
||||||
|
title = "Mon Super Site"
|
||||||
14
content/_index.md
Normal file
14
content/_index.md
Normal 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 !
|
||||||
|
|
||||||
|
- C’est 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
15
layouts/index.html
Normal 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>
|
||||||
Loading…
x
Reference in New Issue
Block a user