mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Try to use x-access-token
This commit is contained in:
parent
58251db14d
commit
04742ae492
1 changed files with 5 additions and 7 deletions
12
.github/workflows/publish-website.sh
vendored
12
.github/workflows/publish-website.sh
vendored
|
|
@ -3,14 +3,12 @@
|
||||||
COMMITTER_USER_NAME="$(git log --format='%an' -1)"
|
COMMITTER_USER_NAME="$(git log --format='%an' -1)"
|
||||||
COMMITTER_EMAIL="$(git log --format='%ae' -1)"
|
COMMITTER_EMAIL="$(git log --format='%ae' -1)"
|
||||||
|
|
||||||
git remote -v
|
|
||||||
|
|
||||||
cd ../monaco-editor-website
|
cd ../monaco-editor-website
|
||||||
git init
|
git init
|
||||||
git config user.name "${COMMITTER_USER_NAME}"
|
git config user.name "${COMMITTER_USER_NAME}"
|
||||||
git config user.email "${COMMITTER_EMAIL}"
|
git config user.email "${COMMITTER_EMAIL}"
|
||||||
# git remote add origin "https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/microsoft/monaco-editor.git"
|
git remote add origin "https://x-access-token:${GITHUB_TOKEN}@github.com/microsoft/monaco-editor.git"
|
||||||
# git checkout -b gh-pages
|
git checkout -b gh-pages
|
||||||
# git add .
|
git add .
|
||||||
# git commit -m "Publish website"
|
git commit -m "Publish website"
|
||||||
# git push origin gh-pages --force
|
git push origin gh-pages --force
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue