Skip to content

Commit 584a5ce

Browse files
authored
Update mkdocs.yaml
1 parent 7826220 commit 584a5ce

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/mkdocs.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ jobs:
3333
- name: Copy Images to Site
3434
run: |
3535
mkdir -p site/assets/images
36-
cp -r assets/images/* site/assets/images/
36+
cp -r assets/images/. site/assets/images/
37+
38+
- name: List Site Directory (Debug)
39+
run: |
40+
ls -R site
3741
3842
- name: Create CNAME File
3943
run: echo "prabha.ai" > site/CNAME
4044
# Replace "prabha.ai" with your actual custom domain.
41-
# The 'site' directory is the default build directory for MkDocs.
42-
# If you have configured a different directory, adjust the path accordingly.
4345

4446
- name: Deploy to GitHub Pages
45-
run: |
46-
mkdocs gh-deploy --force --verbose # Deploy the site to the gh-pages branch.
47-
env:
48-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
uses: peaceiris/actions-gh-pages@v3
48+
with:
49+
github_token: ${{ secrets.GITHUB_TOKEN }}
50+
publish_dir: site

0 commit comments

Comments
 (0)