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
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.matrix.outputs.matrix }}
|
matrix: ${{ steps.matrix.outputs.matrix }}
|
||||||
genhtml: ${{ steps.genhtml.outputs.genhtml }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: create matrix
|
- name: create matrix
|
||||||
@@ -27,13 +26,6 @@ jobs:
|
|||||||
cd ${{ github.workspace }}
|
cd ${{ github.workspace }}
|
||||||
test=$(./compile.sh)
|
test=$(./compile.sh)
|
||||||
echo "matrix=$test" >> $GITHUB_OUTPUT
|
echo "matrix=$test" >> $GITHUB_OUTPUT
|
||||||
- name: genhtml
|
|
||||||
id: genhtml
|
|
||||||
run: |
|
|
||||||
cd ${{ github.workspace }}
|
|
||||||
test=$(./genhtml.sh)
|
|
||||||
echo $test
|
|
||||||
echo "genhtml=$test" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: [ setup ]
|
needs: [ setup ]
|
||||||
@@ -62,9 +54,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
genhtml: ${{ needs.setup.outputs.genhtml }}
|
genhtml: ${{ needs.setup.outputs.genhtml }}
|
||||||
run: |
|
run: |
|
||||||
echo "$genhtml" > ${{ github.workspace}}/public/posts.html
|
cd ${{github.workspace}}
|
||||||
echo "$genhtml"
|
./genhtml.sh > public/posts.html
|
||||||
#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
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user