mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 12:45:39 +01:00
More tweaks
This commit is contained in:
parent
c04fb4f942
commit
d5857b5e08
1 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue