This commit is contained in:
weyu 2025-04-26 16:44:48 +08:00
parent db11c8ee89
commit 0102b52375
2 changed files with 6 additions and 3 deletions

View File

@ -10,6 +10,6 @@ jobs:
- uses: actions/checkout@v4
- name: Push To-To-To
run: |
/bin/bash build.sh https://github.com/openyurtio/openyurt.io.git
/bin/bash build.sh https://github.com/spiffe/spiffe.io.git
src=`cat project_dir/ret-data|grep -v ^$|head -n 1`
./ossutil --access-key-id ${{ secrets.ALIYUN_CYG_OSS_AK }} --access-key-secret ${{ secrets.ALIYUN_CYG_OSS_SK }} --endpoint ${{ secrets.ALIYUN_CYG_OSS_ENDPOINT }} --region ${{ secrets.ALIYUN_CYG_OSS_REGION }} cp -f ${src} oss://cncfstack-website/

View File

@ -49,12 +49,15 @@ save_return(){
}
after_build(){
filetoto "./output"
save_return
}
cd project_dir
if cat .git/config |grep '/spiffe/spiffe.io.git' ;then
echo "匹配到 spiffe"
before_build
build
find_and_sed_v2 "./output"
save_return
after_build
fi