build: release v1.4.7

This commit is contained in:
yanglbme 2020-12-02 14:37:05 +08:00
parent 36dfd1ae02
commit 9a0a6bfba3
3 changed files with 5 additions and 8 deletions

View File

@ -1,7 +1,9 @@
name: Build and Deploy
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest

View File

@ -1,10 +1,8 @@
name: Prettier
on:
pull_request:
push:
branches:
- main
branches: [ main ]
jobs:
prettier:

View File

@ -127,10 +127,7 @@ async function qiniuUpload(file) {
});
const dir = path ? `${path}/` : "";
const dateFilename = dir + getDateFilename(file.name);
const config = {
region,
};
const observable = qiniu.upload(file, dateFilename, token, {}, config);
const observable = qiniu.upload(file, dateFilename, token, {}, { region });
return new Promise((resolve, reject) => {
observable.subscribe({
next: (result) => {