File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 25
25
run : make install
26
26
27
27
- name : Build MkDocs site
28
- run : poetry run mkdocs build
28
+ run : poetry run mkdocs build --verbose
29
29
30
30
- name : Deploy to Next.js repo
31
31
env :
@@ -34,10 +34,16 @@ jobs:
34
34
git config --global user.name 'GitHub Action'
35
35
git config --global user.email '[email protected] '
36
36
git clone https://x-access-token:${NEXT_REPO_TOKEN}@github.com/shreyashankar/docetl-website.git next-repo
37
+ echo "Removing existing docs directory..."
37
38
rm -rf next-repo/public/docs
39
+ echo "Creating new docs directory..."
38
40
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/
40
43
cd next-repo
44
+ echo "Contents of public/docs directory:"
45
+ ls -R public/docs
41
46
git add .
47
+ git status
42
48
git commit -m "Update docs" || echo "No changes to commit"
43
49
git push
Original file line number Diff line number Diff line change 1
1
site_name : docetl docs
2
2
site_url : https://docetl.com/docs/
3
+ use_directory_urls : false
3
4
repo_url : https://github.com/shreyashankar/docetl
4
5
repo_name : shreyashankar/docetl
5
6
remote_branch : gh-pages
You can’t perform that action at this time.
0 commit comments