Skip to content

Commit

Permalink
(fix) add action.yml env
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreys-cat committed Apr 23, 2023
1 parent 3c65847 commit 01b7450
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -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
ACCESS_KEY_ID = LTAI5tJooSDZwD3DfQjaMWU5
ACCESS_KEY_SECRET = XUxvNTLbYxGga8KbqrRkQBMS3UvJJb
# PREFIX = jeffrey
INCREMENTAL = true
ONLY_UPLOAD = true
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 01b7450

Please sign in to comment.