diff --git a/.github/workflows/neocities.yml b/.github/workflows/neocities.yml index 54d754d..6773cca 100644 --- a/.github/workflows/neocities.yml +++ b/.github/workflows/neocities.yml @@ -14,39 +14,39 @@ concurrency: 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 + # 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: - needs: [ setup, build ] + #needs: [ setup, build ] runs-on: ubuntu-latest steps: - run: npm i markdown-to-html-cli -g @@ -66,7 +66,7 @@ jobs: dest="public/posts/$timestamp" dest+="_$filename" dest+=".html" - markdown-to-html --source $entry --output $dest + markdown-to-html --markdown-style-theme light --source $entry --output $dest done - name: Deploy to neocities uses: bcomnes/deploy-to-neocities@v1 diff --git a/public/main.css b/public/main.css index a3e5a2c..470ed06 100644 --- a/public/main.css +++ b/public/main.css @@ -3,10 +3,10 @@ body { font-family: "Fira Code", monospace; - color: white; + color: black; /*text-shadow: -1px -1px 0 #000, 1px -1px #000, -1px 1px #000, 1px 1px #000;*/ /*display: grid;*/ - background: #333; + /*background: #333;*/ } a:link {