Skip to content

Commit

Permalink
Fix path issue?
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherWMM committed Aug 23, 2024
1 parent 2dcddba commit fac908e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ jobs:
# Output the modified directories to be used as an environment variable
echo "modified_dirs=${modified_dirs}" >> $GITHUB_ENV
- name: Create build directory
run: mkdir -p build
# - name: Create build directory
# run: mkdir -p build

- name: Build modified slides
if: env.modified_dirs != ''
run: |
for dir in ${{ env.modified_dirs }}; do
slidev build --base $dir --out /build/$(echo "$dir" | awk -F'slides/' '{print $2}') $dir/slides.md
slidev build --base /lectures/$dir --out /build/$(echo "$dir" | awk -F'slides/' '{print $2}') $dir/slides.md
done
- name: Create index.html
Expand Down
2 changes: 1 addition & 1 deletion slides/test/components/Counter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const counter = ref(props.count)
font="mono"
outline="!none"
hover:bg="gray-400 opacity-20"
@click="counter -= 15"
@click="counter -= 16"
>
-
</button>
Expand Down
2 changes: 1 addition & 1 deletion slides/test/slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ layout: intro
# Welcome to Slidev

Presentation slides for developers
<Counter :count="12" m="t-4" />
<Counter :count="13" m="t-4" />

---
layout: intro
Expand Down

0 comments on commit fac908e

Please sign in to comment.