diff --git a/appveyor.yml b/appveyor.yml index 5f5143167d6..b88ea15ed29 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,6 +20,11 @@ environment: test_suite: 'kitchensink' - nodejs_version: 8 test_suite: 'kitchensink-eject' + access_token: + secure: # + github_email: + secure: # + cache: - '%APPDATA%\npm-cache -> appveyor.cleanup-cache.txt' - '%LOCALAPPDATA%\Yarn\Cache -> appveyor.cleanup-cache.txt' @@ -42,13 +47,16 @@ install: build: off -skip_commits: - files: - - '**/*.md' - test_script: - node --version - npm --version - yarn --version - yarn cache dir - bash tasks/e2e-%test_suite%.sh + +deploy_script: + - 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 %github_email% + - git config --global user.name # e.g. "IlyaFinkelshteyn" + - git subtree push --prefix website origin gh-pages \ No newline at end of file