mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
build: release v1.4.7
This commit is contained in:
parent
36dfd1ae02
commit
9a0a6bfba3
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -1,7 +1,9 @@
|
||||
name: Build and Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
4
.github/workflows/prettier.yml
vendored
4
.github/workflows/prettier.yml
vendored
@ -1,10 +1,8 @@
|
||||
name: Prettier
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
prettier:
|
||||
|
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user