mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-11-28 04:58:34 +01:00
Compare commits
No commits in common. "3f8596083d8d20c7408df54d3569b30e9cb89318" and "4178371c46b680baaa3ffb344d4694ac91a09749" have entirely different histories.
3f8596083d
...
4178371c46
4 changed files with 15 additions and 30 deletions
|
@ -7,6 +7,3 @@ insert_final_newline = true
|
|||
indent_style = space
|
||||
indent_size = 4
|
||||
tab_width = 4
|
||||
|
||||
[{*.yml,*.yaml}]
|
||||
indent_size = 2
|
||||
|
|
21
.github/workflows/server.yml
vendored
21
.github/workflows/server.yml
vendored
|
@ -1,21 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
jobs:
|
||||
deploy-server:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
# this is a beautiful way to deploy a website and i will not take any criticism
|
||||
# (though maybe if you self-host this, you should use a better way to deploy your site)
|
||||
- name: Deploy
|
||||
run: |
|
||||
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb
|
||||
mkdir ~/.ssh && echo "${{ secrets.ELLBOT_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
|
||||
rsync -rv --delete -e 'ssh -o "ProxyCommand cloudflared access ssh --hostname %h" -o "StrictHostKeyChecking=no"' server/public/ ellbot@ssh.ellpeck.de:/var/www/jsp/public
|
||||
- name: Purge Cloudflare cache
|
||||
uses: NathanVaughn/actions-cloudflare-purge@v3.1.0
|
||||
with:
|
||||
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
|
||||
cf_auth: ${{ secrets.CLOUDFLARE_TOKEN }}
|
13
.woodpecker/server.yml
Normal file
13
.woodpecker/server.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
when:
|
||||
path: "server/**"
|
||||
steps:
|
||||
deploy-server:
|
||||
image: debian:latest
|
||||
when:
|
||||
- event: [push, manual]
|
||||
branch: main
|
||||
commands:
|
||||
- rm -rfv /var/www/jsp/public/*
|
||||
- cp -rv server/. /var/www/jsp
|
||||
volumes:
|
||||
- /var/www/jsp:/var/www/jsp
|
|
@ -67,17 +67,13 @@ The `index.html` and `style.css` files contain the site's styling and layout and
|
|||
|
||||
Lastly, to get your server connected to the plugin, head to its settings and change the Just Share Please Server setting's value to your server's public URL.
|
||||
|
||||
If you have any additional questions about the plugin or the self-hosting setup, feel free to join the Discord!
|
||||
|
||||
[![Join the Discord server](https://ellpeck.de/res/discord-wide.png)](https://link.ellpeck.de/discordweb)
|
||||
|
||||
## About This Site
|
||||
The official Just Share Please site, [jsp.ellpeck.de](https://jsp.ellpeck.de), is run by Ellpeck, the creator of the plugin. It is hosted on a server in Germany, and connections to and from it are secured using SSL encryption, partly through LetsEncrypt and partly through Cloudflare SSL.
|
||||
|
||||
If you have lost access to your shares due to your settings file being deleted or due to other reasons, and you want your shares to be deleted, please contact Ell at [me@ellpeck.de](mailto:me@ellpeck.de) or through the [Discord server](https://ellpeck.de/discord).
|
||||
If you have lost access to your shares due to your settings file being deleted or due to other reasons, and you want your shares to be deleted, please contact Ell at [me@ellpeck.de](mailto:me@ellpeck.de) or through his [Discord server](https://ellpeck.de/discord).
|
||||
|
||||
Additionally, the site's source can be found [on GitHub](https://github.com/Ellpeck/ObsidianJustSharePlease/tree/main/server), and for information on privacy and ownership, see the [imprint](https://ellpeck.de/impressum/) and [privacy policy](https://ellpeck.de/privacy/). Ellpeck Games is not responsible for content published through Just Share Please.
|
||||
|
||||
Lastly, if you like this plugin and website and want to support their development, you can do so through my website by clicking this fancy image!
|
||||
|
||||
[![Support me (if you want), via Patreon, Ko-fi or GitHub Sponsors](https://ellpeck.de/res/generalsupport-wide.png)](https://ellpeck.de/support)
|
||||
[![Support me (if you want), via Patreon, Ko-fi or GitHub Sponsors](https://ellpeck.de/res/generalsupport.png)](https://ellpeck.de/support)
|
||||
|
|
Loading…
Reference in a new issue