Compare commits
3 commits
355606b92a
...
bef90382f3
Author | SHA1 | Date | |
---|---|---|---|
bef90382f3 | |||
56801bb11c | |||
6cc0765ad1 |
3 changed files with 860 additions and 231 deletions
|
@ -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
1046
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -6,7 +6,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "eleventy --serve --incremental",
|
"start": "eleventy --serve --incremental",
|
||||||
"build": "ELEVENTY_PRODUCTION=true eleventy",
|
"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": [],
|
"keywords": [],
|
||||||
"author": {
|
"author": {
|
||||||
|
@ -17,7 +18,7 @@
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@11ty/eleventy": "^3.1.1",
|
"@11ty/eleventy": "^3.1.2",
|
||||||
"@11ty/eleventy-img": "^6.0.4",
|
"@11ty/eleventy-img": "^6.0.4",
|
||||||
"@11ty/eleventy-navigation": "^0.3.5",
|
"@11ty/eleventy-navigation": "^0.3.5",
|
||||||
"@11ty/eleventy-plugin-rss": "^2.0.4",
|
"@11ty/eleventy-plugin-rss": "^2.0.4",
|
||||||
|
@ -27,14 +28,15 @@
|
||||||
"@myxotod/eleventy-plugin-readingtime": "^2.0.0",
|
"@myxotod/eleventy-plugin-readingtime": "^2.0.0",
|
||||||
"@quasibit/eleventy-plugin-sitemap": "^2.2.0",
|
"@quasibit/eleventy-plugin-sitemap": "^2.2.0",
|
||||||
"@sardine/eleventy-plugin-tinyhtml": "^0.2.0",
|
"@sardine/eleventy-plugin-tinyhtml": "^0.2.0",
|
||||||
"@tailwindcss/cli": "^4.1.8",
|
"@tailwindcss/cli": "^4.1.11",
|
||||||
"@tailwindcss/typography": "^0.5.16",
|
"@tailwindcss/typography": "^0.5.16",
|
||||||
"eleventy-plugin-embed-everything": "^1.21.0",
|
"eleventy-plugin-embed-everything": "^1.21.0",
|
||||||
"eleventy-plugin-icons": "^4.5.3",
|
"eleventy-plugin-icons": "^4.5.3",
|
||||||
"eleventy-plugin-metagen": "^1.8.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-robotstxt": "^1.0.0",
|
||||||
"eleventy-plugin-tailwindcss-4": "^2.0.1",
|
"eleventy-plugin-tailwindcss-4": "^2.0.1",
|
||||||
|
"lightningcss-cli": "^1.30.1",
|
||||||
"markdown-it-abbr": "^2.0.0",
|
"markdown-it-abbr": "^2.0.0",
|
||||||
"markdown-it-anchor": "^9.2.0",
|
"markdown-it-anchor": "^9.2.0",
|
||||||
"markdown-it-collapsible": "^2.0.2",
|
"markdown-it-collapsible": "^2.0.2",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue