Skip to content

Commit 036b5f4

Browse files
committed
Update config
1 parent 0050fc8 commit 036b5f4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/docs.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: make install
2626

2727
- name: Build MkDocs site
28-
run: poetry run mkdocs build
28+
run: poetry run mkdocs build --verbose
2929

3030
- name: Deploy to Next.js repo
3131
env:
@@ -34,10 +34,16 @@ jobs:
3434
git config --global user.name 'GitHub Action'
3535
git config --global user.email '[email protected]'
3636
git clone https://x-access-token:${NEXT_REPO_TOKEN}@github.com/shreyashankar/docetl-website.git next-repo
37+
echo "Removing existing docs directory..."
3738
rm -rf next-repo/public/docs
39+
echo "Creating new docs directory..."
3840
mkdir -p next-repo/public/docs
39-
cp -r site/* next-repo/public/docs/
41+
echo "Copying MkDocs site to Next.js repo..."
42+
cp -rv site/* next-repo/public/docs/
4043
cd next-repo
44+
echo "Contents of public/docs directory:"
45+
ls -R public/docs
4146
git add .
47+
git status
4248
git commit -m "Update docs" || echo "No changes to commit"
4349
git push

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
site_name: docetl docs
22
site_url: https://docetl.com/docs/
3+
use_directory_urls: false
34
repo_url: https://github.com/shreyashankar/docetl
45
repo_name: shreyashankar/docetl
56
remote_branch: gh-pages

0 commit comments

Comments
 (0)