notary fix2

This commit is contained in:
weyu 2025-04-26 18:52:25 +08:00
parent e3c162fbcd
commit ff1ce65213
2 changed files with 7 additions and 1 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/spiffe/spiffe.io.git
/bin/bash build.sh https://github.com/notaryproject/notaryproject.dev.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

@ -4,6 +4,12 @@ before_build(){
install_hugo_v83_1
install_postcss
# 安装依赖
npm install
# 获取一下git 子模块内容
npm run preinstall
# 添加网站访问统计
echo '<script defer src="https://umami.cncfstack.com/script.js" data-website-id="e2245cb1-9c47-4c63-9330-88f7e729f480"></script>' >> ./layouts/partials/favicons.html