From 5468a935c4a0fcac5940855d325652c6518c051e Mon Sep 17 00:00:00 2001 From: bvanroll Date: Fri, 25 Apr 2025 23:02:39 +0200 Subject: [PATCH] name --- .github/workflows/neocities.yml | 4 ++-- compile.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/neocities.yml b/.github/workflows/neocities.yml index 8ce9ba3..a224c5b 100644 --- a/.github/workflows/neocities.yml +++ b/.github/workflows/neocities.yml @@ -49,7 +49,7 @@ jobs: github-corners: https://github.com/jaywcjlove/markdown-to-html-cliA - name: generate posts.html entries run: - echo "
  • ${{ matrix.value.dest }}
  • " >> public/posts.html + echo "
  • ${{ matrix.value.name }}
  • " >> public/posts.html deploy: needs: [ build ] @@ -59,7 +59,7 @@ jobs: - name: finish posts.html run: | echo "" >> ${{ github.workspace }}/public/posts.html - + #TODO this turns up empty right now. gotta figure that shit out i think - name: Deploy to neocities uses: bcomnes/deploy-to-neocities@v1 with: diff --git a/compile.sh b/compile.sh index 2158c25..8bd5fc5 100755 --- a/compile.sh +++ b/compile.sh @@ -7,7 +7,7 @@ do dest="public/posts/$timestamp" dest+="_$filename" dest+=".html" - t+="{\"source\":\"$entry\",\"dest\":\"$dest\",\"time\":\"$timestamp\"}," + t+="{\"source\":\"$entry\",\"name\":\"$filename\",\"dest\":\"$dest\",\"time\":\"$timestamp\"}," done echo "${t%?}]"