From 89c2fcd8a03b0d1ede90f0f1c6ce25181ddcbd7a Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Sun, 18 Jun 2023 19:53:53 +0200 Subject: [PATCH] config --- .gitea/workflows/hugo.yaml | 8 ++++---- netlify.toml | 15 --------------- 2 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 netlify.toml diff --git a/.gitea/workflows/hugo.yaml b/.gitea/workflows/hugo.yaml index 9673315..5593778 100644 --- a/.gitea/workflows/hugo.yaml +++ b/.gitea/workflows/hugo.yaml @@ -34,9 +34,9 @@ jobs: - name: Deploy to Garage uses: https://github.com/mamal72/minio-perfect-deploy-action@main with: - endpoint: ${{ secrets.MINIO_ENDPOINT }} - access_key: ${{ secrets.MINIO_ACCESS_KEY }} - secret_key: ${{ secrets.MINIO_SECRET_KEY }} - bucket: ${{ secrets.MINIO_BUCKET }} + endpoint: ${{ secrets.S3_ENDPOINT }} + access_key: ${{ secrets.S3_ACCESS_KEY }} + secret_key: ${{ secrets.S3_SECRET_KEY }} + bucket: ${{ secrets.S3_BUCKET }} source_dir: 'public' target_dir: '/' diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index b65e2d7..0000000 --- a/netlify.toml +++ /dev/null @@ -1,15 +0,0 @@ -[build] - command = "hugo --gc --minify -b $URL" - publish = "public" - -[build.environment] - NODE_ENV = "production" - GO_VERSION = "1.16" - TZ = "GMT+1" # Set to preferred timezone - -[context.production.environment] - HUGO_VERSION = "0.104.1" - HUGO_ENV = "production" - -[context.deploy-preview.environment] - HUGO_VERSION = "0.104.1"