Skip to content

Commit f0a7daf

Browse files
committed
change output directory
1 parent d2d4b1c commit f0a7daf

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/custom-pages.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,21 @@ jobs:
1919
- name: Set up Quarto
2020
uses: quarto-dev/quarto-actions/setup@v2
2121

22-
# If you use renv to manage your R packages:
22+
# Restore R dependencies using renv (if you're using renv)
2323
- name: Restore R dependencies with renv
2424
run: Rscript -e 'renv::restore()'
2525

26-
# Alternatively, if not using renv, install packages manually:
27-
# - name: Install required R packages
28-
# run: Rscript -e 'install.packages(c("pkg1", "pkg2"), dependencies = TRUE)'
29-
26+
# Render your Quarto site
3027
- name: Render site with Quarto
3128
run: quarto render
3229

30+
# Debug step: List files in the output directory to verify rendering
31+
- name: List rendered files
32+
run: ls -la docs
33+
34+
# Deploy the rendered site to GitHub Pages (using the correct output directory)
3335
- name: Deploy to GitHub Pages
3436
uses: peaceiris/actions-gh-pages@v3
3537
with:
3638
github_token: ${{ secrets.GITHUB_TOKEN }}
37-
publish_dir: ./_site # Adjust if your output directory is different
39+
publish_dir: ./docs

0 commit comments

Comments
 (0)