소스 검색

Change deploy setttings

pull/6/head
Daniel Covington 7 달 전
부모
커밋
3d1c6a4395
1개의 변경된 파일20개의 추가작업 그리고 10개의 파일을 삭제
  1. +20
    -10
      CiCd/deploy.vbs

+ 20
- 10
CiCd/deploy.vbs 파일 보기

@@ -64,13 +64,23 @@ Sub CloneRepo
WshShell.Exec("git config core.sparseCheckout true")
Dim objFile
Set objFile = fso.CreateTextFile(".git/info/sparse-checkout")
objFile.WriteLine("App/")
objFile.WriteLine("Data/arrow ne.jpg")
objFile.WriteLine("Data/Label_Report.rep")
objFile.WriteLine("Data/png-transparent-arrow-arrow-angle-triangle-black-thumbnail.jpg")
objFile.WriteLine("dist/")
objFile.WriteLine("MVC/")
objFile.WriteLine("Dependancies/")
objFile.WriteLine("index.asp")
WshShell.Exec("git pull origin master")
End Sub
objFile.WriteLine("App/")
objFile.WriteLine("Data/arrow ne.jpg")
objFile.WriteLine("Data/Label_Report.rep")
objFile.WriteLine("Data/png-transparent-arrow-arrow-angle-triangle-black-thumbnail.jpg")
objFile.WriteLine("dist/")
objFile.WriteLine("MVC/")
objFile.WriteLine("Dependancies/")
objFile.WriteLine("index.asp")
WshShell.Exec("git pull origin master")
objFile.Close
WScript.Sleep 10000
Set objFile = fso.OpenTextFile(DeployRoot & "test\App\app.config.asp",1)
Dim readConfigFile:readConfigFile = objFile.ReadAll
objFile.Close
Dim devToFalseSetting:devToFalseSetting = Replace(readConfigFile,"dev = true","dev = false")
Set objFile = fso.OpenTextFile(DeployRoot & "test\App\app.config.asp",2)
objFile.Write(devToFalseSetting)
End Sub

'"F:\Development\Tracking_Kits\CiCd\test\App\app.config.asp"

불러오는 중...
취소
저장

Powered by TurnKey Linux.