forked from microsoft/azure-iot-developer-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
34 lines (30 loc) · 848 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
environment:
username: vschinaiot
app: azure-iot-developer-kit-int
branches:
only:
- pre-release
install:
- git submodule update --init --recursive
- set PATH=C:\Ruby23\bin;%PATH%
- git config core.symlinks true
- git reset --hard
- cd docs
- bundle install
- printf "url:" > _config.dev.yml
- printf " https://%app%.azurewebsites.net" >> _config.dev.yml
- cat _config.dev.yml
build_script:
- bundle exec jekyll build --config _config.yml,_config.dev.yml
on_success:
- git clone https://%username%:%password%@%app%.scm.azurewebsites.net/%app%.git
- ls
- cp -r _site/ %app%
- cd %app%
- ls
- git config --global user.email "%GIT_USER_EMAIL%"
- git config --global user.name "%GIT_USER_NAME%"
- git add .
- git status
- git commit -m "update website"
- git push