More tweaks

pull/1226/head
Alex Dima 2018-11-09 17:20:54 +01:00
parent c04fb4f942
commit d5857b5e08
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
#!/usr/bin/env bash
REMOTE_URL="$(git remote get-url origin)"
COMMITTER_USER_NAME="$(git log --format='%an' -1)"
COMMITTER_EMAIL="$(git log --format='%ae' -1)"
@ -8,7 +7,7 @@ cd ../monaco-editor-website
git init
git config user.name "${COMMITTER_USER_NAME}"
git config user.email "${COMMITTER_EMAIL}"
git remote add origin "${REMOTE_URL}"
git remote add origin "https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/Microsoft/monaco-editor.git"
git checkout -b gh-pages
git add .
git commit -m "Publish website"