Skip to content

Commit f28beeb

Browse files
author
Chojan Shang
committed
chore: fix docs release and ignore local reference
Signed-off-by: Chojan Shang <chojan.shang@vesoft.com>
1 parent 0141c26 commit f28beeb

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/workflows/on-release-main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
types: [published]
66

77
jobs:
8-
98
set-version:
109
runs-on: ubuntu-24.04
1110
steps:
@@ -63,4 +62,13 @@ jobs:
6362
uses: ./.github/actions/setup-python-env
6463

6564
- name: Deploy documentation
66-
run: uv run mkdocs gh-deploy --force
65+
env:
66+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67+
GIT_AUTHOR_NAME: acp-bot
68+
GIT_AUTHOR_EMAIL: noreply@github.com
69+
GIT_COMMITTER_NAME: acp-bot
70+
GIT_COMMITTER_EMAIL: noreply@github.com
71+
run: |
72+
git config user.name "$GIT_AUTHOR_NAME"
73+
git config user.email "$GIT_AUTHOR_EMAIL"
74+
uv run mkdocs gh-deploy --force --remote-branch gh-pages --remote-name origin

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,9 @@ cython_debug/
209209
marimo/_static/
210210
marimo/_lsp/
211211
__marimo__/
212+
213+
# .zed
214+
.zed/
215+
216+
# others
217+
reference/

0 commit comments

Comments
 (0)