mirror of https://github.com/Squidex/squidex.git
2 changed files with 27 additions and 1 deletions
@ -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 |
||||
Loading…
Reference in new issue