File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 with :
4545 fetch-depth : 0 # Full history for mike versioning
4646 token : ${{ secrets.GITHUB_TOKEN }}
47+ persist-credentials : false
4748
4849 - name : Set up Python
4950 if : github.event_name == 'workflow_dispatch' || github.event_name == 'push'
6465 run : |
6566 git config user.name "github-actions[bot]"
6667 git config user.email "github-actions[bot]@users.noreply.github.com"
67- git remote add humemai-docs "https://x-access-token:${{ secrets.HUMEMAI_DOCS_TOKEN }}@github.com/${{ env.DOCS_REPO }}.git"
68+ if [ -z "${{ secrets.HUMEMAI_DOCS_TOKEN }}" ]; then
69+ echo "HUMEMAI_DOCS_TOKEN is missing"
70+ exit 1
71+ fi
72+ git config --global url."https://x-access-token:${{ secrets.HUMEMAI_DOCS_TOKEN }}@github.com/".insteadOf "https://github.com/"
73+ git remote add humemai-docs "https://github.com/${{ env.DOCS_REPO }}.git"
6874
6975 - name : Extract version from tag or input
7076 if : github.event_name == 'workflow_dispatch' || github.event_name == 'push'
You can’t perform that action at this time.
0 commit comments