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