-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,38 +147,6 @@ jobs: | |
if [[ $(git ls-remote --heads origin generate | wc -l) -eq 1 ]]; then | ||
git push origin --delete generate | ||
fi | ||
publish: | ||
runs-on: ubuntu-latest | ||
needs: generate | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }} | ||
fetch-depth: 0 | ||
submodules: 'recursive' | ||
- name: Install uv | ||
uses: astral-sh/setup-uv@v4 | ||
with: | ||
enable-cache: true | ||
cache-dependency-glob: "uv.lock" | ||
- name: "Submodule fetching" | ||
continue-on-error: true | ||
if: ${{inputs.SUBMODULE}} | ||
run: | | ||
git submodule update --init --recursive --checkout -f --remote -- "docs" | ||
git config --global user.name "GitHub Action" | ||
git config --global user.email "[email protected]" | ||
git commit -am "chore (update): fetch submodule" | ||
git push | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.13' | ||
cache: "pip" | ||
- name: Install dependencies | ||
run: uv sync --no-dev | ||
- name: Build | ||
run: | | ||
uv run mkdocs gh-deploy --force | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters