There was an error while loading. Please reload this page.
1 parent f3e36e3 commit b99c9feCopy full SHA for b99c9fe
1 file changed
.github/workflows/main.yaml
@@ -3,6 +3,7 @@ on:
3
push:
4
branches:
5
- main
6
+ - Fix-push-to-publish
7
8
jobs:
9
build:
@@ -45,10 +46,12 @@ jobs:
45
46
env:
47
ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }}
48
run: |
- git config --local http.https://github.com/.extraheader "AUTHORIZATION: basic $(printf '%s' "x-access-token:${ROBOT_TOKEN}" | base64 -w0)"
49
+ git config --global url."https://percona-platform-robot:${ROBOT_TOKEN}@github.com".insteadOf "https://github.com"
50
git config user.name "GitHub Action"
51
git config user.email "github-action@users.noreply.github.com"
-
52
+ git config user.password "${ROBOT_TOKEN}"
53
+ echo "GIT_USER=percona-platform-robot:${ROBOT_TOKEN}" >> $GITHUB_ENV
54
+
55
# Deploy docs
56
- name: Deploy docs
57
0 commit comments