Compare commits

..

No commits in common. "85e5a56bdc84de721dcc11990a984f0b2aa26c16" and "236526850439e135b822bfd3a8782a2c52ac64a1" have entirely different histories.

6 changed files with 18 additions and 24 deletions

View file

@ -6,11 +6,6 @@ on:
push:
branches:
- main
paths:
- 'gemlog/**'
- 'static/**'
- 'templates/**'
- 'gempost.yaml'
concurrency: # prevent concurrent deploys doing strange things
group: deploy-gemini-capsule
@ -42,11 +37,12 @@ jobs:
oauth-client-id: ${{ secrets.TS_API_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_API_CLIENT_SECRET }}
tags: ${{ secrets.TS_TAG }}
- name: Configure SSH known hosts
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: Deploy GMI to Agate
run: |
rsync -avz --delete -e ssh public/ deploy@${{ secrets.GMI_HOST }}:${{ secrets.GMI_CONTENT_PATH }}

View file

@ -1,3 +1,4 @@
version: "3.9"
services:
agate:
restart: always
@ -8,8 +9,4 @@ services:
- ./certs:/var/agate/certs
ports:
- "1965:1965"
command: >
--content content --certs certs --addr 0.0.0.0:1965
--hostname gmi.runtimeterror.dev
--hostname capsule.jbowdre.lol
--lang en-US
command: --content content --certs certs --addr 0.0.0.0:1965 --hostname gmi.runtimeterror.dev --hostname capsule.jbowdre.lol --lang en-US

View file

@ -52,4 +52,3 @@ author:
name: "John Bowdre" # Required
email: "jbowdre@omg.lol" # Optional
uri: "gemini://capsule.jbowdre.lol" # Optional

View file

@ -8,3 +8,4 @@ services:
volumes:
- ./style.css:/app/style.css
command: -s style.css gemini://capsule.jbowdre.lol

View file

@ -73,24 +73,24 @@ dl dt:not(:first-child) {
@media(prefers-color-scheme:dark) {
html {
background-color: #111;
color: #eee;
background-color: #111;
color: #eee;
}
blockquote {
background-color: #000;
background-color: #000;
}
pre {
background-color: #222;
background-color: #222;
}
a {
color: #0087BD;
color: #0087BD;
}
a:visited {
color: #006ebd;
color: #006ebd;
}
}
@ -113,4 +113,5 @@ input:focus {
outline: 0;
border-color: #80bdff;
box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
}

View file

@ -17,4 +17,4 @@
=> https://url.jbowdre.lol/signal signal
=> https://url.jbowdre.lol/xmpp xmpp
=> mailto:jbowdre@omg.lol 📧 email
=> https://url.jbowdre.lol/pgp └─ pgp key
=> https://url.jbowdre.lol/pgp pgp key