From a4449d69ca75ecc6d85f37905d53bac163088100 Mon Sep 17 00:00:00 2001 From: bvanroll Date: Sat, 9 Aug 2025 21:09:36 +0200 Subject: [PATCH] test? --- .gitea/.DS_Store | Bin 0 -> 6148 bytes .gitea/workflows/neocities.yml | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .gitea/.DS_Store create mode 100644 .gitea/workflows/neocities.yml diff --git a/.gitea/.DS_Store b/.gitea/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..ce79baca257b485174d6c99d2cab47bb7105fa4e GIT binary patch literal 6148 zcmeHK%}N6?5T4N$Rz&DgFOpa28^p3cL2sU<78TqjMG>!g7azu(;L*47n;%Py+nb2U z3?$!Vev<50nn{R=XHUy1(S(RvG(i?+M8rJm+VkKB$U4Uj^;GDY9{byoiT&W-!<+9%yxw_k2S$>z0 zU?3O>27-ZL;71ui%@%2o45JSQf`MRQ&48Q_2~99NRzp2H(CHHZDA#Be=z3=bCNTiB zV>N^Y!j=lORQ4wZTRQB? public/posts.html + - run: | + cd ${{github.workspace}} + for entry in notes/* + do + filename=$(basename "$entry" .md) + timestamp=`git log --format=%ad --date=format:'%Y-%m-%d' -- $entry` + dest="public/posts/$timestamp" + dest+="_$filename" + dest+=".html" + markdown-to-html --no-dark-mode false --markdown-style-theme light --source $entry --output $dest + done +# - name: gen_pico8 +# run: | +# cd ${{github.worpskace}} +# ./gen_games.sh >> public/gaming.html +# echo " " >> public/gaming.html + + - name: Deploy to neocities + uses: bcomnes/deploy-to-neocities@v1 + with: + api_token: ${{ secrets.NEOCITIES_API_TOKEN }} + cleanup: true + dist_dir: public + protected_files: 'dropbox/*'