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%?}]"