debugging
This commit is contained in:
7
.github/workflows/neocities.yml
vendored
7
.github/workflows/neocities.yml
vendored
@@ -27,9 +27,10 @@ jobs:
|
|||||||
echo "<ul class=posts>" > public/posts.html
|
echo "<ul class=posts>" > public/posts.html
|
||||||
test=$(./compile.sh)
|
test=$(./compile.sh)
|
||||||
echo "matrix=$test" >> $GITHUB_OUTPUT
|
echo "matrix=$test" >> $GITHUB_OUTPUT
|
||||||
- name: check matrix
|
- name: check posts.html
|
||||||
run: |
|
run: |
|
||||||
echo "${{ steps.matrix.outputs.value }}"
|
cat public/posts.html
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: [ setup ]
|
needs: [ setup ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -50,6 +51,7 @@ jobs:
|
|||||||
- name: generate posts.html entries
|
- name: generate posts.html entries
|
||||||
run:
|
run:
|
||||||
echo "<li class=\"post\"><a href=\"${{ matrix.value.dest }}\">${{ matrix.value.name }}</a></li>" >> public/posts.html
|
echo "<li class=\"post\"><a href=\"${{ matrix.value.dest }}\">${{ matrix.value.name }}</a></li>" >> public/posts.html
|
||||||
|
cat public/posts.html
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: [ build ]
|
needs: [ build ]
|
||||||
@@ -59,6 +61,7 @@ jobs:
|
|||||||
- name: finish posts.html
|
- name: finish posts.html
|
||||||
run: |
|
run: |
|
||||||
echo "</ul>" >> ${{ github.workspace }}/public/posts.html
|
echo "</ul>" >> ${{ github.workspace }}/public/posts.html
|
||||||
|
cat ${{ github.workspace }}/public/posts.html
|
||||||
#TODO this turns up empty right now. gotta figure that shit out i think
|
#TODO this turns up empty right now. gotta figure that shit out i think
|
||||||
- name: Deploy to neocities
|
- name: Deploy to neocities
|
||||||
uses: bcomnes/deploy-to-neocities@v1
|
uses: bcomnes/deploy-to-neocities@v1
|
||||||
|
Reference in New Issue
Block a user