Skip to content

Commit

Permalink
chore: adjust run cloud server
Browse files Browse the repository at this point in the history
  • Loading branch information
linghan-hub committed Nov 28, 2023
1 parent b12c2ac commit 2672c41
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test-cloud-k3s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,16 @@ jobs:
touch ./cn.env
echo "${{ env.CLOUD_CN_ENV }}" > ./cn.env
cat << EOF > run.sh
#!/bin/bash
while IFS='=' read -r name value
do
if [[ ! $name =~ ^\# && -n $name ]]; then
export $name=$value
fi
done < ./cn.env
echo "DSN:"$DSN
nohup make run > ./make_run.log 2>&1 &
EOF
#!/bin/bash
while IFS='=' read -r name value
do
if [[ ! $name =~ ^\# && -n $name ]]; then
export $name=$value
fi
done < ./cn.env
echo "DSN:"$DSN
nohup make run > ./make_run.log 2>&1 &
EOF
chmod +x run.sh
./run.sh
times=1
Expand Down

0 comments on commit 2672c41

Please sign in to comment.