empty
This commit is contained in:
6
.github/workflows/neocities.yml
vendored
6
.github/workflows/neocities.yml
vendored
@@ -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 ]
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user