getdfs: ${repo}

This commit is contained in:
xiongdian.me 2023-01-06 15:47:38 +08:00
parent 3694c40ad4
commit fef1aa4160
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ jobs:
- name: run the script - name: run the script
run: | run: |
bash tools/get.dotfiles.cn -asl repo=https://github.com/DictXiong/dotfiles bash tools/get.dotfiles.cn -asl
- name: run tests - name: run tests
shell: /bin/zsh -ileo PIPE_FAIL {0} shell: /bin/zsh -ileo PIPE_FAIL {0}

View File

@ -45,7 +45,7 @@ for u in "${DFS_USERS[@]}";do
$SUCMD<<EOF $SUCMD<<EOF
cd cd
if [[ ! -f ~/dotfiles/install.sh ]];then if [[ ! -f ~/dotfiles/install.sh ]];then
git clone https://gitee.com/dictxiong/dotfiles git clone ${repo}
fi fi
if [[ "$DFS_SECURE" == "1" ]];then if [[ "$DFS_SECURE" == "1" ]];then
echo "enter secure mode" echo "enter secure mode"