mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 16:56:17 +08:00
Use insiders theme/env for docs build workflow
This commit is contained in:
@@ -10,6 +10,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GH_C17_DEV_TOKEN: ${{ secrets.GH_C17_DEV_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout reflect-cpp repo
|
- name: Checkout reflect-cpp repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -24,9 +26,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: 1.12.0
|
version: 1.12.0
|
||||||
|
|
||||||
- name: Create virtual environment
|
|
||||||
run: hatch env create
|
|
||||||
|
|
||||||
- name: Set git credentials
|
- name: Set git credentials
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "${{ github.actor }}"
|
git config --global user.name "${{ github.actor }}"
|
||||||
@@ -37,7 +36,7 @@ jobs:
|
|||||||
git fetch origin gh-pages --depth=1
|
git fetch origin gh-pages --depth=1
|
||||||
|
|
||||||
- name: Deploy MkDocs documentation
|
- name: Deploy MkDocs documentation
|
||||||
run: hatch run mkdocs gh-deploy
|
run: hatch run insiders:mkdocs gh-deploy
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user