Skip to content

Commit 320eff5

Browse files
committedMar 6, 2024·
fix: fix ci
1 parent b14adcb commit 320eff5

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed
 

‎.github/workflows/.github-ci.yml

+2-18
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,5 @@ jobs:
4141
steps:
4242
- uses: actions/checkout@v1
4343
- run: |
44-
printf "================ Start to Boot CIManager ================\n"
45-
git clone https://github.com/wgrape/CIManager.git
46-
cp -an ./CIManager/.pipeline ./
47-
rm -rf ./CIManager
48-
cd .pipeline
49-
printf "================ End Boot ================\n\n"
50-
printf "================ Debug Start ================\n\n"
51-
show_env(){
52-
echo "1. cat /proc/version="$(cat /proc/version)
53-
echo "2. pwd="$(pwd)
54-
echo "3. ls="$(ls -a)
55-
}
56-
show_env
57-
printf "================ End Debug ================\n\n"
58-
printf "\e[36m>>>>>>>>>>> Start Pipeline\e[0m\n\n"
59-
# you can run sudo with the -E/--preserve-env switch, sudo -E/--preserve-env ..., which retains environment variables.
60-
sudo --preserve-env bash start.sh
61-
printf "\e[36m<<<<<<<<<<< End Pipeline\e[0m"
44+
git clone https://github.com/wgrape/CIManager.git && bash ./CIManager/connect.sh
45+
sudo --preserve-env bash .pipeline/start.sh # you can run sudo with the -E/--preserve-env switch, sudo -E/--preserve-env ..., which retains environment variables.

0 commit comments

Comments
 (0)
Please sign in to comment.