Skip to content

Commit 6dccb18

Browse files
committed
docs: update MkDocs deployment process and change site URL to pydoll.dev
1 parent 751084d commit 6dccb18

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,20 @@ jobs:
2121
python -m pip install --upgrade pip
2222
pip install mkdocs mkdocs-material pymdown-extensions mkdocstrings[python] mkdocs-static-i18n
2323
24-
- name: Build MkDocs into site/docs
25-
run: mkdocs build
24+
# Build MkDocs em pasta temporária
25+
- name: Build MkDocs into temp folder
26+
run: mkdocs build --site-dir temp_docs
2627

27-
- name: Add landing to site/
28+
# Criar estrutura final do site
29+
- name: Prepare final site
2830
run: |
29-
mkdir -p site
30-
cp -r docs/landing/* site/
31+
mkdir -p site/docs
32+
cp -r temp_docs/* site/docs/
33+
cp -r landing/* site/
3134
3235
- name: Deploy to GitHub Pages
3336
uses: peaceiris/actions-gh-pages@v3
3437
with:
3538
github_token: ${{ secrets.GITHUB_TOKEN }}
3639
publish_dir: ./site
37-
cname: pydoll.tech
40+
cname: pydoll.dev

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: Pydoll - Async Web Automation Library
2-
site_url: https://autoscrape-labs.github.io/pydoll/
2+
site_url: https://pydoll.tech
33
repo_url: https://github.com/autoscrape-labs/pydoll
44
repo_name: autoscrape-labs/pydoll
55
use_directory_urls: true

0 commit comments

Comments
 (0)