1
0
Fork 0

moved hugo.toml to hugo_config folder

This commit is contained in:
maxime-cool 2024-01-24 18:07:08 +01:00
parent 4fbefdd082
commit 611dc719b1
4 changed files with 2 additions and 29 deletions

View file

@ -47,4 +47,4 @@ steps:
AWS_SECRET_ACCESS_KEY:
from_secret: AWS_SECRET_ACCESS_KEY
commands:
- hugo deploy --config hugo.toml
- hugo deploy # --config hugo.toml

View file

@ -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

View file

@ -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"] }