Skip to content

Commit

Permalink
update template.
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan committed Feb 28, 2024
1 parent f4c8c5b commit 631d615
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion template/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:
- git fetch --unshallow || true
post_install:
- python -m pip install --upgrade --no-cache-dir pdm
- make dev-doc
- PDM_NO_EDITABLE=true make dev-doc
pre_build:
- CI_PAGES_URL=https://${READTHEDOCS_PROJECT}.readthedocs.io/${READTHEDOCS_LANGUAGE}/stable make changelog
os: ubuntu-22.04
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Setup pages
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0
- run: env | sort
- run: make dev-doc
- run: PDM_NO_EDITABLE=true make dev-doc
- run: CI_PAGES_URL={{ '${{ steps.pages.outputs.base_url }}' }} make doc
- name: Generate release notes
run: make release-notes > release-notes.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pages-build:
rules:
- if: $CI_COMMIT_TAG =~ /^v?(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-?(a|b|rc)(0|[1-9][0-9]*)?)?$/
script:
- make dev-doc
- PDM_NO_EDITABLE=true make dev-doc
- make doc
- make release-notes > release-notes.md
stage: release
Expand Down

0 comments on commit 631d615

Please sign in to comment.