set up forgejo actions
All checks were successful
/ test (push) Successful in 35s

This commit is contained in:
Robert Perce 2025-12-01 22:10:28 -06:00
parent d925573629
commit 4f611b9544
3 changed files with 47 additions and 3 deletions

View file

@ -0,0 +1,6 @@
on: [push, workflow_dispatch]
jobs:
test:
runs-on: playwright-latest
steps:
- run: echo All good!

View file

@ -35,8 +35,8 @@ deploy_to_server() {
where="$1" where="$1"
_cargo build --release _cargo build --release
rsync -v -essh ./target/release/mascarpone "$where:~" \ rsync -v -essh ./target/release/mascarpone "$where:~" \
&& rsync -rav -essh ./hashed_static "$where:~/static" \ && rsync -rav -essh ./hashed_static "$where:~/" \
&& ssh -t "$where" "sudo mv -f mascarpone /usr/bin/ && sudo rm -rf /var/local/mascarpone/static && sudo mv -f static /var/local/mascarpone/ && sudo systemctl restart mascarpone" && ssh -t "$where" "sudo mv -f mascarpone /usr/bin/ && sudo rm -rf /var/local/mascarpone/hashed_static && sudo mv -f hashed_static /var/local/mascarpone/ && sudo systemctl restart mascarpone"
} }
dev() { dev() {

View file

@ -47,10 +47,14 @@ main {
#text_body { #text_body {
margin-top: 1em; margin-top: 1em;
p+p { p {
margin-top: 0.5em; margin-top: 0.5em;
} }
p:first-child {
margin-top: 0;
}
em { em {
font-style: italic; font-style: italic;
} }
@ -58,6 +62,40 @@ main {
strong { strong {
font-weight: bold; font-weight: bold;
} }
li {
list-style: disc inside;
}
h1 {
margin-block: 0.83em;
font-size: 1.50em;
}
h2 {
margin-block: 1.00em;
font-size: 1.17em;
}
h3 {
margin-block: 1.33em;
font-size: 1.00em;
}
h4 {
margin-block: 1.67em;
font-size: 0.83em;
}
h5 {
margin-block: 2.33em;
font-size: 0.67em;
}
blockquote {
padding: 0.1em 0 0.1em 0.5em;
border-left: 2px solid var(--line-color);
}
} }
.grow-wrap { .grow-wrap {