Skip to content

Commit 51fc7d4

Browse files
committed
fix(ci): publish docs deployment
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 21c906e commit 51fc7d4

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎.github/workflows/publish-docs.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
with:
3333
python-version: "3.x"
3434
- run: python -m pip install -r requirements-docs.txt
35+
- name: Configure Git author
36+
run: |
37+
git config user.name "github-actions[bot]"
38+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
3539
- uses: actions/create-github-app-token@v1
3640
id: pages-token
3741
with:
@@ -50,7 +54,8 @@ jobs:
5054
if git ls-remote --exit-code --heads pages gh-pages >/dev/null; then
5155
mike deploy --remote pages --branch gh-pages --push dev
5256
else
53-
mike deploy --remote pages --branch gh-pages --default dev --push dev
57+
mike deploy --remote pages --branch gh-pages --push dev
58+
mike set-default --remote pages --branch gh-pages --push dev
5459
fi
5560
- name: Publish release documentation
5661
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)