代码拉取完成,页面将自动刷新
同步操作将从 sscms/cms 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# configuration for "master" branch
- branches:
only:
- master
version: 6.10.{build}
image: Visual Studio 2017
assembly_info:
patch: true
file: '**\AssemblyInfo.cs'
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
configuration:
- Release
environment:
nodejs_version: "6"
TreatWarningsAsErrors: false
install:
- ps: Install-Product node $env:nodejs_version
- npm install gulp -g
- npm install
- nuget update -self
skip_tags: true
cache:
- packages -> **\packages.config
- node_modules # local npm modules
before_build:
- nuget restore siteserver-all.sln
build:
project: siteserver-all.sln # path to Visual Studio solution or project
publish_nuget: true
after_build:
- gulp build
- nuget pack build/SS.CMS.nuspec
- gulp zip
artifacts:
- path: siteserver_install.zip
name: siteserver_install
- path: siteserver.exe
name: siteserver.exe
- path: "*.nupkg"
deploy:
- provider: GitHub
release: siteserver-v$(appveyor_build_version)
description: "SiteServer CMS"
auth_token:
secure: B/TFrPxGyyTS/NKTQsf/GBLPfGI+Rz/j3e7FVLaP6yjeUDljwkfvV70C+CT34/10
artifact: /.*\.[zip|exe]/
draft: false
prerelease: false
- provider: NuGet
server: # remove to push to NuGet.org
api_key:
secure: B9umZPwBVx2TMfYt7G1Eppy7XX0FkqWioXxwR+lKv5XVRc6ezjOXP8D9iuisOWBF
skip_symbols: false
symbol_server: # remove to push symbols to SymbolSource.org
artifact: /.*\.nupkg/
notifications:
- provider: GitHubPullRequest
on_build_success: true
on_build_failure: true
# configuration for "staging" branch
- branches:
only:
- staging
version: 6.10.{build}-beta
image: Visual Studio 2017
assembly_info:
patch: true
file: '**\AssemblyInfo.cs'
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
configuration:
- Release
environment:
nodejs_version: "6"
TreatWarningsAsErrors: false
DOCKER_USER:
secure: plV6NmiOZal0f3H/xNFuoA==
DOCKER_PASS:
secure: AzfvhYL4heX1Acqv5C3Oug==
install:
- ps: Install-Product node $env:nodejs_version
- npm install gulp -g
- npm install
- docker version
- nuget update -self
skip_tags: true
cache:
- packages -> **\packages.config
- node_modules # local npm modules
before_build:
- nuget restore siteserver-all.sln
build:
project: siteserver-all.sln # path to Visual Studio solution or project
publish_nuget: true
after_build:
- gulp build
- nuget pack build/SS.CMS.nuspec
- gulp zip
# - docker build -t siteserver/cms:latest -t siteserver/cms:v%appveyor_build_version% .
# - docker login -u="%DOCKER_USER%" -p="%DOCKER_PASS%"
# - docker push siteserver/cms
artifacts:
- path: siteserver_install.zip
name: siteserver_install
- path: siteserver.exe
name: siteserver.exe
- path: "*.nupkg"
deploy:
- provider: GitHub
release: siteserver-v$(appveyor_build_version)
description: "SiteServer CMS"
auth_token:
secure: B/TFrPxGyyTS/NKTQsf/GBLPfGI+Rz/j3e7FVLaP6yjeUDljwkfvV70C+CT34/10
artifact: /.*\.[zip|exe]/
draft: false
prerelease: true
- provider: NuGet
server: # remove to push to NuGet.org
api_key:
secure: B9umZPwBVx2TMfYt7G1Eppy7XX0FkqWioXxwR+lKv5XVRc6ezjOXP8D9iuisOWBF
skip_symbols: false
symbol_server: # remove to push symbols to SymbolSource.org
artifact: /.*\.nupkg/
notifications:
- provider: GitHubPullRequest
on_build_success: true
on_build_failure: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。