Skip to content

Commit

Permalink
bump to trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherWMM committed Aug 23, 2024
1 parent d0d1dcc commit aac5e91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/github-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
# Get the list of modified slide markdown files
echo git show ${{ github.sha }} --name-only
modified_files=$(git show ${{ github.sha }} --name-only | grep "^slides/.*/.*.md$")
echo "Modified files: $modified_files"
# Initialize an empty string to store unique directories
modified_dirs=""
Expand All @@ -37,10 +39,11 @@ jobs:
# Add directory to list, separated by space
modified_dirs="$modified_dirs $dir"
done

echo "Modified directories: $modified_dirs"

# Output the modified directories to be used as an environment variable
echo "modified_dirs=${modified_dirs}" >> $GITHUB_ENV
echo ${{ env.modified_dirs }}

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
2 changes: 1 addition & 1 deletion slides/test/slides.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
theme: default
title: Welcome to Slidev #7
title: Welcome to Slidev #8
layout: intro
---

Expand Down

0 comments on commit aac5e91

Please sign in to comment.