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