Compare commits

..

2 commits
main ... main

Author SHA1 Message Date
a0873bcc3e dont use override_date 2024-10-27 16:31:54 +00:00
6d29ae43ff _data/hakken.yml aktualisiert 2024-10-27 16:27:54 +00:00
9 changed files with 635 additions and 1091 deletions

33
.drone.yml Normal file
View file

@ -0,0 +1,33 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
when:
event:
- push
- pull_request
image: denoland/deno:alpine-1.43.6
commands:
- deno task build
- name: publish
when:
event:
- push
branch:
- main
image: appleboy/drone-scp
settings:
host: 10.7.6.1 # nachtigall.pub.solar
port: 22
username:
from_secret: ps_ssh_user
key:
from_secret: ps_ssh_key
source:
- ./_site/*
target: /srv/www/pub.solar/
overwrite: true
strip_components: 1

View file

@ -1,22 +0,0 @@
name: Build
on:
pull_request:
branches: main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Deno
uses: https://github.com/denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Build step
run: "deno task build"

View file

@ -1,31 +0,0 @@
name: Deploy
on:
push:
branches: main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Deno
uses: https://github.com/denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Build step
run: "deno task build"
- name: copy file via ssh key
uses: https://github.com/appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.SCP_HOST }}
username: ${{ secrets.SCP_USERNAME }}
port: ${{ secrets.SCP_PORT }}
key: ${{ secrets.SCP_KEY }}
source: "_site/*"
target: /srv/www/pub.solar

View file

@ -43,7 +43,7 @@ command was used to generate it.
### Deployment
Our [Forgejo Actions CI](https://git.pub.solar/pub-solar/pub.solar/actions) is configured to
Our [Drone CI](https://ci.pub.solar/pub-solar/pub.solar) is configured to
deploy the `main` branch to the production website. To integrate any changes,
first create a pull request, which will be reviewed. After merging it, the new
version will get deployed automatically.

View file

@ -13,10 +13,6 @@
animation-play-state: paused;
animation-iteration-count: infinite;
@media screen and (prefers-reduced-motion: reduce) {
animation-name: none !important;
}
&:hover {
animation-play-state: running;
}
@ -37,7 +33,6 @@
height: 100%;
border-radius: 50%;
}
}
@keyframes rotate {

View file

@ -13,8 +13,5 @@
"types": [
"lume/types.ts"
]
},
"unstable": [
"temporal"
]
}
}

1596
deno.lock generated

File diff suppressed because it is too large Load diff

27
flake.lock generated
View file

@ -5,11 +5,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1743550720,
"narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
"lastModified": 1717285511,
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "c621e8422220273271f52058f618c94e405bb0f5",
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
"type": "github"
},
"original": {
@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1744463964,
"narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=",
"lastModified": 1717602782,
"narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
"rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6",
"type": "github"
},
"original": {
@ -36,17 +36,14 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1743296961,
"narHash": "sha256-b1EdN3cULCqtorQ4QeWgLMrd5ZGOjLSLemfa00heasc=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "e4822aea2a6d1cdd36653c134cacfd64c97ff4fa",
"type": "github"
"lastModified": 1717284937,
"narHash": "sha256-lIbdfCsf8LMFloheeE6N31+BMIeixqyQWbSr2vk79EQ=",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz"
}
},
"root": {

View file

@ -1,9 +1,8 @@
{
"imports": {
"lume/": "https://deno.land/x/lume@v2.5.3/",
"lume/": "https://deno.land/x/lume@v2.2.1/",
"react/jsx-runtime": "https://deno.land/x/lume@v2.2.1/deps/react_runtime.ts",
"react": "https://deno.land/x/lume@v2.2.1/deps/react.ts",
"markdown-it": "https://jspm.dev/markdown-it@13.0.2",
"lume/jsx-runtime": "https://deno.land/x/ssx@v0.1.8/jsx-runtime.ts"
"markdown-it": "https://jspm.dev/markdown-it@13.0.2"
}
}