Commit 9ef849d1 by Urvil Shah

Initial commit

parent f0e21ed6
Pipeline #8015 failed with stages
in 4 seconds
...@@ -5,12 +5,12 @@ stages: ...@@ -5,12 +5,12 @@ stages:
build_website: build_website:
stage: build stage: build
script: script:
- nuget restore .\MobEasyEditor.sln - nuget restore .\Mobile.WYSIWYG.sln
- msbuild /p:Configuration=Release /p:OutDir=build\web .\MobEasyEditor\MobEasyEditor.csproj - msbuild /p:Configuration=Release /p:OutDir=build\web .\Mobile.WYSIWYG\Mobile.WYSIWYG.csproj
artifacts: artifacts:
expire_in: 6 weeks expire_in: 6 weeks
paths: paths:
- .\Mobile.-WYSIWYG\build\web\_PublishedWebsites\MobEasyEditor - .\Mobile.-WYSIWYG\build\web\_PublishedWebsites\Mobile.WYSIWYG
when: always when: always
deploy_web: deploy_web:
...@@ -18,6 +18,6 @@ deploy_web: ...@@ -18,6 +18,6 @@ deploy_web:
script: script:
- Import-Module PSRemoteDeploy - Import-Module PSRemoteDeploy
- $servers = $env:DEPLOY_SERVERS -split ';' - $servers = $env:DEPLOY_SERVERS -split ';'
- Copy-FilesToServers -Servers $servers -UserName $env:DEPLOY_USERNAME -Password $env:DEPLOY_PASSWORD -LocalPath ".\Mobile.-WYSIWYG\build\web\_PublishedWebsites\MobEasyEditor\*" -RemotePath "C:\adk-mobile\$env:CI_PROJECT_NAME\Mobile.-WYSIWYG\$env:CI_BUILD_ID" - Copy-FilesToServers -Servers $servers -UserName $env:DEPLOY_USERNAME -Password $env:DEPLOY_PASSWORD -LocalPath ".\Mobile.-WYSIWYG\build\web\_PublishedWebsites\Mobile.WYSIWYG\*" -RemotePath "C:\adk-mobile\$env:CI_PROJECT_NAME\Mobile.-WYSIWYG\$env:CI_BUILD_ID"
- Set-IISPhysicalPaths -Servers $servers -UserName $env:DEPLOY_USERNAME -Password $env:DEPLOY_PASSWORD -IISSite "MobEasyEditor" -Path "c:\adk-mobile\$env:CI_PROJECT_NAME\MobEasyEditor\$env:CI_BUILD_ID" - Set-IISPhysicalPaths -Servers $servers -UserName $env:DEPLOY_USERNAME -Password $env:DEPLOY_PASSWORD -IISSite "Mobile.WYSIWYG" -Path "c:\adk-mobile\$env:CI_PROJECT_NAME\Mobile.WYSIWYG\$env:CI_BUILD_ID"
when: manual when: manual
\ 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 sign in to comment