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: ...@@ -25,8 +25,8 @@ build_in_branch:
- New-Item -Path '.\.env' -ItemType File - New-Item -Path '.\.env' -ItemType File
- Add-Content .\.env "$envtext" - 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 | 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 - echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass -m ./scripts/command.ps1
- ./scripts/command.ps1 # - ./scripts/command.ps1
allow_failure: true allow_failure: true
except: except:
- master - master
......
echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass -m scripts/command-server.bat # echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass -m scripts/command-server.bat
\ No newline at end of file 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