forked from pub-solar/pub.solar
Compare commits
11 commits
Author | SHA1 | Date | |
---|---|---|---|
af86b66819 | |||
ce381cab7c | |||
f64f60bec1 | |||
c52fbae948 | |||
b39957fa65 | |||
32a7bf7ee7 | |||
edbcee015c | |||
c8a2df0638 | |||
2d59ed8305 | |||
|
6a34bd5b68 | ||
38d65d60d0 |
10 changed files with 1108 additions and 667 deletions
.drone.yml
.forgejo/workflows
README.md_data
_includes/styles
deno.jsondeno.lockflake.lockimport_map.json
33
.drone.yml
33
.drone.yml
|
@ -1,33 +0,0 @@
|
|||
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
|
22
.forgejo/workflows/build.yml
Normal file
22
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
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"
|
||||
|
31
.forgejo/workflows/deploy.yml
Normal file
31
.forgejo/workflows/deploy.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
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
|
|
@ -43,7 +43,7 @@ command was used to generate it.
|
|||
|
||||
### Deployment
|
||||
|
||||
Our [Drone CI](https://ci.pub.solar/pub-solar/pub.solar) is configured to
|
||||
Our [Forgejo Actions CI](https://git.pub.solar/pub-solar/pub.solar/actions) 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.
|
||||
|
|
|
@ -1,46 +1,31 @@
|
|||
dates:
|
||||
- name: Summer 2024
|
||||
id: summer-2024
|
||||
theme: Hot CPU Summer
|
||||
override_date:
|
||||
start: '2024-08-23'
|
||||
end: '2024-08-25'
|
||||
- name: Winter 2025
|
||||
id: winter-2025
|
||||
theme: Winter Hakken
|
||||
location:
|
||||
en: Cologne @ [MiOM space](https://miom.space)
|
||||
de: Köln @ [MiOM Kreativraum](https://miom.space)
|
||||
description:
|
||||
en: |
|
||||
Summer is hot and will be getting hotter. CPUs are overheating in the new CO2 normal, can we do better?
|
||||
|
||||
Ideas for projects:
|
||||
* Look for ways to reduce the pub.solar carbon footprint
|
||||
* Create an open source bicycle computer
|
||||
de: |
|
||||
Der Sommer ist heiß und wird immer heißer werden. CPUs überhitzen in dem neuen Normal des CO2, was können wir da besser machen?
|
||||
|
||||
Projekt-Ideen:
|
||||
* Mittel und Wege finden pub.solar nachhaltiger zu gestalten
|
||||
* Einen open source Fahrradcomputer bauen
|
||||
|
||||
- name: Autumn 2024
|
||||
id: autumn-2024
|
||||
theme: Awesome hardware autumn
|
||||
- name: Spring 2025
|
||||
id: spring-2025
|
||||
theme: Spring Hakken
|
||||
location:
|
||||
en: Cologne @ [MiOM space](https://miom.space)
|
||||
de: Köln @ [MiOM Kreativraum](https://miom.space)
|
||||
description:
|
||||
en: |
|
||||
We need more blinking LEDs.
|
||||
|
||||
Ideas for projects:
|
||||
* Wearable pub.solar LED earrings
|
||||
* LED logo
|
||||
de: |
|
||||
Wir brauchen mehr blinkende LEDs.
|
||||
- name: Summer 2025
|
||||
id: summer-2025
|
||||
theme: Summer Hakken
|
||||
location:
|
||||
en: Cologne @ [MiOM space](https://miom.space)
|
||||
de: Köln @ [MiOM Kreativraum](https://miom.space)
|
||||
|
||||
Projekt-Ideen:
|
||||
* Tragbare pub.solar LED Ohrringe
|
||||
* LED logo
|
||||
- name: Autumn 2025
|
||||
id: autumn-2025
|
||||
theme: Autumn Hakken
|
||||
location:
|
||||
en: Cologne @ [MiOM space](https://miom.space)
|
||||
de: Köln @ [MiOM Kreativraum](https://miom.space)
|
||||
|
||||
strings:
|
||||
when:
|
||||
|
@ -91,4 +76,4 @@ strings:
|
|||
- en: 'November'
|
||||
de: 'November'
|
||||
- en: 'December'
|
||||
de: 'Dezember'
|
||||
de: 'Dezember'
|
|
@ -13,6 +13,10 @@
|
|||
animation-play-state: paused;
|
||||
animation-iteration-count: infinite;
|
||||
|
||||
@media screen and (prefers-reduced-motion: reduce) {
|
||||
animation-name: none !important;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
animation-play-state: running;
|
||||
}
|
||||
|
@ -33,6 +37,7 @@
|
|||
height: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@keyframes rotate {
|
||||
|
|
|
@ -13,5 +13,8 @@
|
|||
"types": [
|
||||
"lume/types.ts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"unstable": [
|
||||
"temporal"
|
||||
]
|
||||
}
|
||||
|
|
27
flake.lock
generated
27
flake.lock
generated
|
@ -5,11 +5,11 @@
|
|||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717285511,
|
||||
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
|
||||
"lastModified": 1743550720,
|
||||
"narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
|
||||
"rev": "c621e8422220273271f52058f618c94e405bb0f5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -20,11 +20,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1717602782,
|
||||
"narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=",
|
||||
"lastModified": 1744463964,
|
||||
"narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6",
|
||||
"rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -36,14 +36,17 @@
|
|||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1717284937,
|
||||
"narHash": "sha256-lIbdfCsf8LMFloheeE6N31+BMIeixqyQWbSr2vk79EQ=",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz"
|
||||
"lastModified": 1743296961,
|
||||
"narHash": "sha256-b1EdN3cULCqtorQ4QeWgLMrd5ZGOjLSLemfa00heasc=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "e4822aea2a6d1cdd36653c134cacfd64c97ff4fa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz"
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{
|
||||
"imports": {
|
||||
"lume/": "https://deno.land/x/lume@v2.2.1/",
|
||||
"lume/": "https://deno.land/x/lume@v2.5.3/",
|
||||
"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"
|
||||
"markdown-it": "https://jspm.dev/markdown-it@13.0.2",
|
||||
"lume/jsx-runtime": "https://deno.land/x/ssx@v0.1.8/jsx-runtime.ts"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue