Skip to content

Commit

Permalink
Make copied files txt and raw
Browse files Browse the repository at this point in the history
  • Loading branch information
mjdecker committed Aug 22, 2023
1 parent 90c4efd commit 22ac23a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ jobs:
- name: Build with Jekyll
run: |
cp -r _notes _markdowns
find _markdowns -name "*.md" | xargs -I% sed -i="" "s/layout: notes/layout: markdown/" %
find _markdowns -name "*.md" | sed "s/.md$//" | xargs -I% bash -c "tail +3 %.md > %.txt"
find _markdowns -name "*.md" | xargs rm
# Outputs to the './_site' directory by default
bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
Expand Down

0 comments on commit 22ac23a

Please sign in to comment.