diff --git a/Dockerfile.build b/Dockerfile.build index e4b751cde..f59227346 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -1,6 +1,5 @@ FROM microsoft/aspnetcore-build:1.1.2 - # Install runtime dependencies RUN apt-get update \ && apt-get install -y --no-install-recommends ca-certificates bzip2 libfontconfig \ diff --git a/appveyor.yaml b/appveyor.yaml new file mode 100644 index 000000000..08464eb09 --- /dev/null +++ b/appveyor.yaml @@ -0,0 +1,27 @@ +version: '{build}' +pull_requests: + do_not_increment_build_number: true +branches: + only: + - master +nuget: + disable_publish_on_pr: true +build_script: +- ps: .\Build.ps1 +test: off +environment: + access_token: + secure: zxkLpKLm1mUIYooOeSU+23amdt4NqHVLpwZB77KgBnkiUjckL3+0yHHXVrliBNeW + git_email: + secure: BLyuNJtu5HhsReY6l7Fc3L43OQZSASkoqt1be7OIe8A +on_success: + - git config --global credential.helper store + - ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n" + - git config --global user.email "$($env:git_email)" + - git config --global user.name "Squidex Build" + - git config --global core.autocrlf true + - git checkout master + - git add . + - git commit -m "ci deploy" + - git status + - git push origin master:release -f \ No newline at end of file