This commit is contained in:
weyu 2025-03-28 10:39:16 +08:00
parent a26a4ffa29
commit 06caab8efc
4 changed files with 36 additions and 9 deletions

View File

@ -7,8 +7,6 @@ on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@ -27,10 +25,4 @@ jobs:
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
run: /bin/bash websitetoto.sh push.list

12
cron.list Normal file
View File

@ -0,0 +1,12 @@
https://github.com/open-telemetry/opentelemetry.io.git
https://github.com/helm/helm-www.git
https://github.com/kubernetes/website.git
https://github.com/cloudevents/cloudevents-web.git
https://github.com/loggie-io/docs.git
https://github.com/vitessio/website.git
https://github.com/chaos-mesh/website.git
https://github.com/kubeedge/website.git
https://github.com/openyurtio/openyurt.io.git
https://github.com/karmada-io/website.git
https://github.com/openkruise/openkruise.io.git
https://github.com/kubevela/kubevela.github.io.git

12
push.list Normal file
View File

@ -0,0 +1,12 @@
https://github.com/open-telemetry/opentelemetry.io.git
https://github.com/helm/helm-www.git
https://github.com/kubernetes/website.git
https://github.com/cloudevents/cloudevents-web.git
https://github.com/loggie-io/docs.git
https://github.com/vitessio/website.git
https://github.com/chaos-mesh/website.git
https://github.com/kubeedge/website.git
https://github.com/openyurtio/openyurt.io.git
https://github.com/karmada-io/website.git
https://github.com/openkruise/openkruise.io.git
https://github.com/kubevela/kubevela.github.io.git

11
websitetoto.sh Normal file
View File

@ -0,0 +1,11 @@
#!/bin/bash -x
project_list=$1
for project in `cat $project_list`
do
project_name=`echo $project |awk -F'/' '{print $NF}'|sed 's/\.git//g'`
#git clone $project
#cd $project_name
echo ${{ secrets.TEST1 }}
done