wIK5Ez2o commited on
Commit
084f8fd
·
verified ·
1 Parent(s): 56fbaf2

Update launch.sh

Browse files
Files changed (1) hide show
  1. launch.sh +7 -6
launch.sh CHANGED
@@ -24,13 +24,14 @@ function init() {
24
  #chmod 777 /data
25
  cd /data
26
 
27
- git init
28
- git config user.email "[email protected]"
29
- git config user.name "git-batch"
30
- git config init.defaultBranch main
31
 
32
- git branch -m main
33
- git remote add origin https://${github_secret}@github.com/${github_project}.git
 
34
  git add .
35
  echo "'update data $(date "+%Y-%m-%d %H:%M:%S")'"
36
  git commit -m "'update data $(date "+%Y-%m-%d %H:%M:%S")'"
 
24
  #chmod 777 /data
25
  cd /data
26
 
27
+ #git init
28
+ #git config user.email "[email protected]"
29
+ #git config user.name "git-batch"
30
+ #git config init.defaultBranch main
31
 
32
+ #git branch -m main
33
+ #git remote add origin https://${github_secret}@github.com/${github_project}.git
34
+ git clone https://${github_secret}@github.com/${github_project}.git .
35
  git add .
36
  echo "'update data $(date "+%Y-%m-%d %H:%M:%S")'"
37
  git commit -m "'update data $(date "+%Y-%m-%d %H:%M:%S")'"