From 465d911f7ae9a09e1bb8c5f43ff1dd1981eec09d Mon Sep 17 00:00:00 2001 From: hateonion Date: Sun, 10 May 2020 09:49:53 +0800 Subject: [PATCH] fix: update document --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4da1e4b..134543e 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ uptoc --endpoint oss-cn-beijing.aliyuncs.com --access_key LTAI4FxxxxxxxBXmS3 --a And the access-key and access-secret support settings by the system environment ```bash -export UPTOC_UPLOADER_KEYID=LTAI4FxxxxxxxBXmS3 -export UPTOC_UPLOADER_KEYSECRET=Vt1FZgxxxxxxxxxxxxKp380AI +export UPTOC_UPLOADER_AK=LTAI4FxxxxxxxBXmS3 +export UPTOC_UPLOADER_SK=Vt1FZgxxxxxxxxxxxxKp380AI uptoc --endpoint oss-cn-beijing.aliyuncs.com --bucket blog-bucket /opt/blog/public ``` @@ -54,8 +54,8 @@ steps: bucket: saltbo-blog dist: public env: - UPTOC_UPLOADER_KEYID: ${{ secrets.UPTOC_UPLOADER_KEYID }} - UPTOC_UPLOADER_KEYSECRET: ${{ secrets.UPTOC_UPLOADER_KEYSECRET }} + UPTOC_UPLOADER_AK: ${{ secrets.UPTOC_UPLOADER_KEYID }} + UPTOC_UPLOADER_SK: ${{ secrets.UPTOC_UPLOADER_KEYSECRET }} ``` ### Similar Travis ```yaml