Skip to content

Commit d19574c

Browse files
authored
(OSS) Do not delete expired files (#213)
- ```index.html```: hosted by Apache and Apache CDN (which is based on Cloudflare) - ``` other resources ``` like CSS, images, Javascript...etc hosted By SelectDB OSS and CDN (which is based on Aliyun/Tencent Cloud)
1 parent 1cd2c0a commit d19574c

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/cron-deploy-website.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
# use your own endpoint
7777
endpoint: ${{ secrets.ALIYUN_OSS_ENDPOINT }}
7878
folder: build
79+
onlyUpload: true
7980

8081
- name: Remove pdf
8182
run: rm -rf ./build/assets/files/*.pdf

.github/workflows/manual-deploy-website.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
# use your own endpoint
7272
endpoint: ${{ secrets.ALIYUN_OSS_ENDPOINT }}
7373
folder: build
74+
onlyUpload: true
7475

7576
- name: Deploy Website
7677
if: ${{ github.event.inputs.branch == 'master' }}

.gitmodules

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
url = https://github.com/dorny/paths-filter.git
44
[submodule ".github/actions/aliyun-oss-website-action"]
55
path = .github/actions/aliyun-oss-website-action
6-
url = https://github.com/fangbinwei/aliyun-oss-website-action.git
7-
branch = dev
6+
url = https://github.com/jeffreys-cat/aliyun-oss-website-action.git

0 commit comments

Comments
 (0)