and some height aswell
This commit is contained in:
34
.github/workflows/neocities.yml
vendored
34
.github/workflows/neocities.yml
vendored
@@ -14,39 +14,7 @@ concurrency:
|
|||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# setup:
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# outputs:
|
|
||||||
# matrix: ${{ steps.matrix.outputs.matrix }}
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v4
|
|
||||||
# - name: create matrix
|
|
||||||
# id: matrix
|
|
||||||
# run: |
|
|
||||||
# cd ${{ github.workspace }}
|
|
||||||
# test=$(./compile.sh)
|
|
||||||
# echo "matrix=$test" >> $GITHUB_OUTPUT
|
|
||||||
#
|
|
||||||
# build:
|
|
||||||
# needs: [ setup ]
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# strategy:
|
|
||||||
# matrix:
|
|
||||||
# value: ${{fromJSON(needs.setup.outputs.matrix)}}
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v4
|
|
||||||
# #- run: |
|
|
||||||
# # cd ${{ github.workspace }}
|
|
||||||
# # touch ${{ matrix.value.dest }}
|
|
||||||
# - name: markdown to html
|
|
||||||
# uses: jaywcjlove/markdown-to-html-cli@main
|
|
||||||
# with:
|
|
||||||
# source: ${{ matrix.value.source }}
|
|
||||||
# output: ${{ matrix.value.dest }}
|
|
||||||
# github-corners: https://github.com/jaywcjlove/markdown-to-html-cliA
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
#needs: [ setup, build ]
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: npm i markdown-to-html-cli -g
|
- run: npm i markdown-to-html-cli -g
|
||||||
@@ -66,7 +34,7 @@ jobs:
|
|||||||
dest="public/posts/$timestamp"
|
dest="public/posts/$timestamp"
|
||||||
dest+="_$filename"
|
dest+="_$filename"
|
||||||
dest+=".html"
|
dest+=".html"
|
||||||
markdown-to-html --markdown-style-theme light --source $entry --output $dest
|
markdown-to-html --no-dark-mode false --markdown-style-theme light --source $entry --output $dest
|
||||||
done
|
done
|
||||||
- name: Deploy to neocities
|
- name: Deploy to neocities
|
||||||
uses: bcomnes/deploy-to-neocities@v1
|
uses: bcomnes/deploy-to-neocities@v1
|
||||||
|
@@ -57,4 +57,5 @@ iframe {
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
height: 600px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user