parent
4bc365bd79
commit
89c2fcd8a0
@ -34,9 +34,9 @@ jobs:
|
|||||||
- name: Deploy to Garage
|
- name: Deploy to Garage
|
||||||
uses: https://github.com/mamal72/minio-perfect-deploy-action@main
|
uses: https://github.com/mamal72/minio-perfect-deploy-action@main
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.MINIO_ENDPOINT }}
|
endpoint: ${{ secrets.S3_ENDPOINT }}
|
||||||
access_key: ${{ secrets.MINIO_ACCESS_KEY }}
|
access_key: ${{ secrets.S3_ACCESS_KEY }}
|
||||||
secret_key: ${{ secrets.MINIO_SECRET_KEY }}
|
secret_key: ${{ secrets.S3_SECRET_KEY }}
|
||||||
bucket: ${{ secrets.MINIO_BUCKET }}
|
bucket: ${{ secrets.S3_BUCKET }}
|
||||||
source_dir: 'public'
|
source_dir: 'public'
|
||||||
target_dir: '/'
|
target_dir: '/'
|
||||||
|
15
netlify.toml
15
netlify.toml
@ -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"
|
|
Loading…
Reference in New Issue
Block a user