This commit is contained in:
parent
caa9620c3b
commit
9ce8e13a41
|
@ -24,8 +24,9 @@ jobs:
|
|||
git config user.name "CI"
|
||||
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
|
||||
TOKEN=$(echo -n "x-access-token:${GITHUB_TOKEN}" | base64)
|
||||
git -c http.extraHeader="Authorization: Basic ${TOKEN}" push origin -d pages
|
||||
git -c http.extraHeader="Authorization: Basic ${TOKEN}" push origin -d pages || true
|
||||
git checkout -b pages
|
||||
git add *
|
||||
git commit -m "gen pages"
|
||||
git log
|
||||
git -c http.extraHeader="Authorization: Basic ${TOKEN}" push -u origin pages
|
||||
|
|
Loading…
Reference in a new issue