mirror of
https://github.com/jbowdre/capsule.git
synced 2024-11-29 23:52:18 +00:00
Compare commits
8 commits
2365268504
...
85e5a56bdc
Author | SHA1 | Date | |
---|---|---|---|
85e5a56bdc | |||
e57094b271 | |||
fde52ab553 | |||
32573512c3 | |||
81bf03e060 | |||
a1e46a9f6e | |||
de6b9c0540 | |||
f415fd7b66 |
6 changed files with 24 additions and 18 deletions
16
.github/workflows/deploy-gemini.yml
vendored
16
.github/workflows/deploy-gemini.yml
vendored
|
@ -6,6 +6,11 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- 'gemlog/**'
|
||||||
|
- 'static/**'
|
||||||
|
- 'templates/**'
|
||||||
|
- 'gempost.yaml'
|
||||||
|
|
||||||
concurrency: # prevent concurrent deploys doing strange things
|
concurrency: # prevent concurrent deploys doing strange things
|
||||||
group: deploy-gemini-capsule
|
group: deploy-gemini-capsule
|
||||||
|
@ -37,12 +42,11 @@ jobs:
|
||||||
oauth-client-id: ${{ secrets.TS_API_CLIENT_ID }}
|
oauth-client-id: ${{ secrets.TS_API_CLIENT_ID }}
|
||||||
oauth-secret: ${{ secrets.TS_API_CLIENT_SECRET }}
|
oauth-secret: ${{ secrets.TS_API_CLIENT_SECRET }}
|
||||||
tags: ${{ secrets.TS_TAG }}
|
tags: ${{ secrets.TS_TAG }}
|
||||||
- name: Install SSH key
|
- name: Configure SSH known hosts
|
||||||
uses: shimataro/ssh-key-action@v2
|
run: |
|
||||||
with:
|
mkdir -p ~/.ssh
|
||||||
key: ${{ secrets.SSH_KEY }}
|
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
|
||||||
name: id_rsa
|
chmod 644 ~/.ssh/known_hosts
|
||||||
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
|
|
||||||
- name: Deploy GMI to Agate
|
- name: Deploy GMI to Agate
|
||||||
run: |
|
run: |
|
||||||
rsync -avz --delete -e ssh public/ deploy@${{ secrets.GMI_HOST }}:${{ secrets.GMI_CONTENT_PATH }}
|
rsync -avz --delete -e ssh public/ deploy@${{ secrets.GMI_HOST }}:${{ secrets.GMI_CONTENT_PATH }}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
version: "3.9"
|
|
||||||
services:
|
services:
|
||||||
agate:
|
agate:
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -9,4 +8,8 @@ services:
|
||||||
- ./certs:/var/agate/certs
|
- ./certs:/var/agate/certs
|
||||||
ports:
|
ports:
|
||||||
- "1965:1965"
|
- "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
|
||||||
|
|
|
@ -52,3 +52,4 @@ author:
|
||||||
name: "John Bowdre" # Required
|
name: "John Bowdre" # Required
|
||||||
email: "jbowdre@omg.lol" # Optional
|
email: "jbowdre@omg.lol" # Optional
|
||||||
uri: "gemini://capsule.jbowdre.lol" # Optional
|
uri: "gemini://capsule.jbowdre.lol" # Optional
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,3 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./style.css:/app/style.css
|
- ./style.css:/app/style.css
|
||||||
command: -s style.css gemini://capsule.jbowdre.lol
|
command: -s style.css gemini://capsule.jbowdre.lol
|
||||||
|
|
||||||
|
|
|
@ -114,4 +114,3 @@ input:focus {
|
||||||
border-color: #80bdff;
|
border-color: #80bdff;
|
||||||
box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
|
box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,4 +17,4 @@
|
||||||
=> https://url.jbowdre.lol/signal signal
|
=> https://url.jbowdre.lol/signal signal
|
||||||
=> https://url.jbowdre.lol/xmpp xmpp
|
=> https://url.jbowdre.lol/xmpp xmpp
|
||||||
=> mailto:jbowdre@omg.lol 📧 email
|
=> mailto:jbowdre@omg.lol 📧 email
|
||||||
=> https://url.jbowdre.lol/pgp pgp key
|
=> https://url.jbowdre.lol/pgp └─ pgp key
|
Loading…
Reference in a new issue