zo is beter :p
This commit is contained in:
13
.github/workflows/neocities.yml
vendored
13
.github/workflows/neocities.yml
vendored
@@ -18,7 +18,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
matrix: ${{ steps.matrix.outputs.matrix }}
|
||||
genhtml: ${{ steps.genhtml.outputs.genhtml }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: create matrix
|
||||
@@ -27,13 +26,6 @@ jobs:
|
||||
cd ${{ github.workspace }}
|
||||
test=$(./compile.sh)
|
||||
echo "matrix=$test" >> $GITHUB_OUTPUT
|
||||
- name: genhtml
|
||||
id: genhtml
|
||||
run: |
|
||||
cd ${{ github.workspace }}
|
||||
test=$(./genhtml.sh)
|
||||
echo $test
|
||||
echo "genhtml=$test" >> $GITHUB_OUTPUT
|
||||
|
||||
build:
|
||||
needs: [ setup ]
|
||||
@@ -62,9 +54,8 @@ jobs:
|
||||
env:
|
||||
genhtml: ${{ needs.setup.outputs.genhtml }}
|
||||
run: |
|
||||
echo "$genhtml" > ${{ github.workspace}}/public/posts.html
|
||||
echo "$genhtml"
|
||||
#TODO this turns up empty right now. gotta figure that shit out i think
|
||||
cd ${{github.workspace}}
|
||||
./genhtml.sh > public/posts.html
|
||||
- name: Deploy to neocities
|
||||
uses: bcomnes/deploy-to-neocities@v1
|
||||
with:
|
||||
|
Reference in New Issue
Block a user