This commit is contained in:
2025-04-25 22:09:46 +02:00
parent 7d43f45170
commit ac31c08bca
2 changed files with 1 additions and 8 deletions

View File

@@ -24,15 +24,11 @@ jobs:
matrix: ${{ steps.matrix.outputs.value }}
steps:
- uses: actions/checkout@v4
- name: generate posts.html
run: |
ls -la ${{ github.workspace }}
- run: |
cd ${{ github.workspace }}
echo "<ul class=posts>" > public/posts.html
./compile.sh
./compile.sh >> $GITHUB_OUTPUT
- run: |
echo "${{ steps.matrix.outputs.value }}"
build:
needs: [ prep_array ]

View File

@@ -2,12 +2,9 @@
t='['
for entry in notes/*
do
echo $entry
filename=$(basename "$entry" .md)
#filename="${entry%}"
timestamp=`git log --follow --format=%ad --date=format:'%Y-%m-%d' -- $entry`
t+="{\"source\"=\"$entry\",\"dest\"=\"$filename\",\"time\"=\"$timestamp\"},"
done
echo "value=${t%?}]"
echo "value=${t%?}]" >> $GITHUB_OUTPUT