This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new f70af45c979 Update cron-deploy-website.yml (#201)
f70af45c979 is described below

commit f70af45c9790483f72411d235f4edb966228d586
Author: Jeffrey <[email protected]>
AuthorDate: Thu Feb 23 22:17:43 2023 +0800

    Update cron-deploy-website.yml (#201)
    
    Delete PDF before deploying to apache server, Github does not allow 
uploading more than 100M size file.
---
 .github/workflows/cron-deploy-website.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/cron-deploy-website.yml 
b/.github/workflows/cron-deploy-website.yml
index fdcf74300fc..9e4785ba716 100644
--- a/.github/workflows/cron-deploy-website.yml
+++ b/.github/workflows/cron-deploy-website.yml
@@ -76,6 +76,9 @@ jobs:
           # use your own endpoint
           endpoint: ${{ secrets.ALIYUN_OSS_ENDPOINT }}
           folder: build
+          
+    - name: Remove pdf
+      run: rm -rf ./build/assets/files/*.pdf
 
     - name: Deploy Website
       if: ${{ github.event.inputs.branch == 'master' }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to