config
All checks were successful
/ deploy (push) Successful in 43s

This commit is contained in:
Mans Ziesel 2023-06-18 19:53:53 +02:00
parent 4bc365bd79
commit 89c2fcd8a0
2 changed files with 4 additions and 19 deletions

View File

@ -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: '/'

View File

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