Commit c5b6e500 authored by Reza Sahebgharan's avatar Reza Sahebgharan

build stage test

parent cd528c3f
Pipeline #389 passed with stages
in 11 seconds
......@@ -25,8 +25,8 @@ build_in_branch:
- New-Item -Path '.\.env' -ItemType File
- Add-Content .\.env "$envtext"
- echo y | pscp.exe -batch -l administrator -pw $env:WinRunPass ./.env WinRun:c:/Users/administrator/.env # save .env in remote server
- echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass cd c:/Users/administrator/ ; docker-compose config ;docker-compose up -d --force-recreate
- ./scripts/command.ps1
- echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass -m ./scripts/command.ps1
# - ./scripts/command.ps1
allow_failure: true
except:
- master
......
echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass -m scripts/command-server.bat
\ No newline at end of file
# echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass -m scripts/command-server.bat
Set-Location c:/Users/administrator ; docker-compose -f c:/Users/administrator/docker-compose.yml up -d --force-recreate
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment