diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 01502b1..b80da25 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -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 diff --git a/cron.list b/cron.list new file mode 100644 index 0000000..48c0ed2 --- /dev/null +++ b/cron.list @@ -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 diff --git a/push.list b/push.list new file mode 100644 index 0000000..48c0ed2 --- /dev/null +++ b/push.list @@ -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 diff --git a/websitetoto.sh b/websitetoto.sh new file mode 100644 index 0000000..26a4adc --- /dev/null +++ b/websitetoto.sh @@ -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 +