Compare commits

...

3 commits

Author SHA1 Message Date
bef90382f3 build: 📦 update packages 2025-07-03 18:15:14 +02:00
56801bb11c ci: 👷 remove ci build file
Building via CI breaks dates on posts
2025-07-03 18:15:14 +02:00
6cc0765ad1 build: 📦 add lightningcss and post-processing build step
Apparently, I have visitors who are still on Windows 7
2025-07-03 18:15:14 +02:00
3 changed files with 860 additions and 231 deletions

View file

@ -1,35 +0,0 @@
name: Build and Deploy NPM Project to Webserver via SSH
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: docker
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install Dependencies
run: npm install
- name: Build Project
run: npm run build
- name: Deploy via SCP
run: |
echo "${{ secrets.SSH_PRIVATE_KEY }}" > private_key
chmod 600 private_key
echo "Deploying via SCP..."
scp -o StrictHostKeyChecking=no -i private_key -r public/* ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}:/mnt/user/appdata/sebin-blog/www
rm -f private_key

1046
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,8 @@
"scripts": {
"start": "eleventy --serve --incremental",
"build": "ELEVENTY_PRODUCTION=true eleventy",
"prebuild": "rm -rf ./public"
"build:clean": "rm -rf ./public",
"build:lightningcss": "lightningcss --minify --bundle --targets '> 0.2% and not dead, firefox >= 115' ./public/css/style.css -o ./public/css/style.css"
},
"keywords": [],
"author": {
@ -17,7 +18,7 @@
"license": "ISC",
"type": "module",
"dependencies": {
"@11ty/eleventy": "^3.1.1",
"@11ty/eleventy": "^3.1.2",
"@11ty/eleventy-img": "^6.0.4",
"@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-plugin-rss": "^2.0.4",
@ -27,14 +28,15 @@
"@myxotod/eleventy-plugin-readingtime": "^2.0.0",
"@quasibit/eleventy-plugin-sitemap": "^2.2.0",
"@sardine/eleventy-plugin-tinyhtml": "^0.2.0",
"@tailwindcss/cli": "^4.1.8",
"@tailwindcss/cli": "^4.1.11",
"@tailwindcss/typography": "^0.5.16",
"eleventy-plugin-embed-everything": "^1.21.0",
"eleventy-plugin-icons": "^4.5.3",
"eleventy-plugin-metagen": "^1.8.3",
"eleventy-plugin-og-image": "^4.0.1",
"eleventy-plugin-og-image": "^4.1.0",
"eleventy-plugin-robotstxt": "^1.0.0",
"eleventy-plugin-tailwindcss-4": "^2.0.1",
"lightningcss-cli": "^1.30.1",
"markdown-it-abbr": "^2.0.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-collapsible": "^2.0.2",