From 01b7450a7ce5676150fd0c10b9a462cb07d07b0a Mon Sep 17 00:00:00 2001 From: Jeffrey Date: Sun, 23 Apr 2023 16:14:23 +0800 Subject: [PATCH] (fix) add action.yml env --- .env | 11 ++++++++--- action.yml | 4 ++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 615c725..41202ff 100644 --- a/.env +++ b/.env @@ -1,11 +1,16 @@ -ENDPOINT = fangbinwei-blog.oss-cn-shanghai.aliyuncs.com +ENDPOINT = jeffrey-oss-test.oss-cn-hangzhou.aliyuncs.com FOLDER = testdata/group1 -BUCKET = fangbinwei-blog +BUCKET = jeffrey-oss-test INDEX_PAGE = index.html NOT_FOUND_PAGE = 404.html CNAME = true HTML_CACHE_CONTROL = no-cache IMAGE_CACHE_CONTROL = max-age=864000 OTHER_CACHE_CONTROL = max-age=2592000 +PDF_CACHE_CONTROL = no-cache SKIP_SETTING = false -INCREMENTAL = true \ No newline at end of file +ACCESS_KEY_ID = LTAI5tJooSDZwD3DfQjaMWU5 +ACCESS_KEY_SECRET = XUxvNTLbYxGga8KbqrRkQBMS3UvJJb +# PREFIX = jeffrey +INCREMENTAL = true +ONLY_UPLOAD = true \ No newline at end of file diff --git a/action.yml b/action.yml index 2445989..130a6a9 100644 --- a/action.yml +++ b/action.yml @@ -59,6 +59,10 @@ inputs: description: 'Cache-Control for other files' required: false default: 'max-age=2592000' + onlyUpload: + description: 'Only Upload Mode' + required: false + default: 'false' runs: using: 'docker' image: 'Dockerfile'