Skip to content

Commit

Permalink
fix write to slide folder
Browse files Browse the repository at this point in the history
  • Loading branch information
aranas committed Sep 11, 2023
1 parent abadc21 commit 0be75b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/slides_reveal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Convert Markdown to HTML using reveal.js
run: |
pandoc slides.md -t revealjs -s -o slides.html -V revealjs-url=./reveal.js -V theme=black
pandoc slides/slides.md -t revealjs -s -o slides/slides.html -V revealjs-url=./reveal.js -V theme=black
- name: Commit changes
run: |
Expand Down
2 changes: 1 addition & 1 deletion slides/generate_slides.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
markdown += slide_content

# Write the entire slide deck to a markdown file
with open('slides.md', 'w') as md_file:
with open(os.path.join(script_dir,'slides.md'), 'w') as md_file:
md_file.write(markdown)

print("Generated slides.md")

0 comments on commit 0be75b2

Please sign in to comment.