Skip to content

Commit

Permalink
ci 查找替换时不使用 regex
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Mar 12, 2024
1 parent 2078846 commit eeb40a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@ jobs:
include: "main/conf.py"
find: '"https://question-board.readthedocs.io/"'
replace: '"https://cpp_tutorial.gitee.io/board/"'
regex: false

- name: Show mirror website
uses: jacobtomlinson/gha-find-replace@v3
with:
include: "main/index.rst"
find: "`本网站的国内网址 (不支持搜索) <https://cpp_tutorial.gitee.io/vscode_cpp_starter/>`_"
replace: "`本网站的国外网址 (支持搜索) <https://vscode-cpp-starter.readthedocs.io/>`_"
regex: false

- name: Install sphinx
shell: bash
Expand Down

0 comments on commit eeb40a9

Please sign in to comment.