This commit is contained in:
parent
99fd0c09a7
commit
caa9620c3b
|
@ -20,6 +20,8 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
cd dist
|
cd dist
|
||||||
git init
|
git init
|
||||||
|
git config user.email "ci_action@example.com"
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in a new issue