diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..5cb160e --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -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 diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..7154f27 --- /dev/null +++ b/config.toml @@ -0,0 +1,3 @@ +baseURL = "https://ptits-pas.fr/" +languageCode = "fr" +title = "Mon Super Site" diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..310ea90 --- /dev/null +++ b/content/_index.md @@ -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`. diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..6d62ab0 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,15 @@ + + + + + {{ .Title }} + + +
+ {{ .Content }} +
+ + +