script changes
This commit is contained in:
parent
02def77ed6
commit
9056919241
3
cron.bat
3
cron.bat
@ -1,3 +1,4 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
git pull
|
git fetch --all
|
||||||
|
git reset --hard origin/master
|
@ -1,10 +1,16 @@
|
|||||||
|
|
||||||
Set-ExecutionPolicy RemoteSigned
|
|
||||||
|
|
||||||
|
|
||||||
$path = [Environment]::GetFolderPath("MyDocuments")
|
$path = [Environment]::GetFolderPath("MyDocuments")
|
||||||
|
$path2 = "VAT-Software"
|
||||||
cd $path
|
cd $path
|
||||||
git clone https://github.com/t0is/VAT-software.git
|
if (Test-Path -LiteralPath (Join-Path $path $path2)) {
|
||||||
|
Remove-Item 'VAT-Software' -Recurse -Force -Confirm:$false
|
||||||
|
}
|
||||||
|
git clone https://git.iop.cz/vat/software.git VAT-Software
|
||||||
|
|
||||||
|
cd VAT-Software
|
||||||
|
git config credential.helper store
|
||||||
|
git config user.email "vat_emp@dalkove-ovladace.cz"
|
||||||
|
git config user.name "vat_emp"
|
||||||
|
|
||||||
$path = $path + "\VAT-software" + "\cron.bat"
|
$path = $path + "\VAT-software" + "\cron.bat"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user