version: '{build}'

branches:
  only:
  - master

image: Visual Studio 2015

build:
  verbosity: minimal

after_build:
- ps: >-
    Tools\BuildStatic.ps1 $pwd.path

on_success:
  - git config --global credential.helper store
  - git config --global user.email appveyor@neptuo.com
  - git config --global user.name Appveyor
  - ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
  - git checkout gh-pages
  - git rm -rf .
  - xcopy ..\output . /E /R /Y
  - echo go.neptuo.com > CNAME
  - git remote set-url origin https://github.com/neptuo/com.neptuo.go.git
  - git add -A
  - git commit -a -m "[StaticSiteBuild]"
  - git push
  - git commit --amend --reset-author
version: '{build}'

branches:
  only:
  - master

image: Visual Studio 2015

build:
  verbosity: minimal

after_build:
- ps: >-
    Tools\BuildStatic.ps1 $pwd.path

on_success:
  - git config --global credential.helper store
  - git config --global user.email appveyor@neptuo.com
  - git config --global user.name Appveyor
  - ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
  - git checkout gh-pages
  - git clean -f
  - git rm -rf .
  - xcopy ..\output . /E /R /Y
  - echo go.neptuo.com > CNAME
  - git remote set-url origin https://github.com/neptuo/com.neptuo.go.git
  - git add -A
  - git commit -a -m "[StaticSiteBuild]"
  - git push
  - git commit --amend --reset-author
Add clean of unstaged files.
Add clean of unstaged files.
