From 611dc719b1577e360b3f68b45daaef4cf44f7350 Mon Sep 17 00:00:00 2001 From: maxime-cool Date: Wed, 24 Jan 2024 18:07:08 +0100 Subject: [PATCH] moved hugo.toml to hugo_config folder --- .drone.yml | 2 +- .gitea/workflows/test.yml | 24 --------------------- hugo.toml => hugo_config/_default/hugo.toml | 0 static/admin/config.yml | 5 +---- 4 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 .gitea/workflows/test.yml rename hugo.toml => hugo_config/_default/hugo.toml (100%) diff --git a/.drone.yml b/.drone.yml index a95a46b..b02c316 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,4 +47,4 @@ steps: AWS_SECRET_ACCESS_KEY: from_secret: AWS_SECRET_ACCESS_KEY commands: - - hugo deploy --config hugo.toml \ No newline at end of file + - hugo deploy # --config hugo.toml \ No newline at end of file diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml deleted file mode 100644 index 0bbc6f4..0000000 --- a/.gitea/workflows/test.yml +++ /dev/null @@ -1,24 +0,0 @@ -# name: Gitea Actions -# run-name: ${{ gitea.actor }} is testing Gitea Actions 🚀 -# on: [push] - -# jobs: -# build and deploy: -# steps: -# - uses: actions/checkout@v3 -# - run: | -# pwd -# echo 'hello world' -# ls -a -# - name: Setup Hugo -# uses: https://github.com/peaceiris/actions-hugo@v2 -# with: -# hugo-version: 'latest' -# extended: true -# - name: Build -# run: hugo --minify --config hugo.toml -# - name: Deploy -# env: -# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} -# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} -# run: hugo deploy --config hugo.toml \ No newline at end of file diff --git a/hugo.toml b/hugo_config/_default/hugo.toml similarity index 100% rename from hugo.toml rename to hugo_config/_default/hugo.toml diff --git a/static/admin/config.yml b/static/admin/config.yml index b50e3e7..ccf67ae 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -42,7 +42,4 @@ collections: file: 'site/settings.toml' extension: toml fields: - - label: toml file - name: toml file - widget: 'select' - options: ["rouge", "bleu", "vert"] + - { label: Couleur du thème, name: bg-color, widget: 'select', options: ["rouge", "bleu", "vert"] } \ No newline at end of file