diff options
author | Raphael <mail@raphaelkabo.com> | 2025-04-28 11:08:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-28 11:08:24 +0100 |
commit | b04e6394c5c5d882800f5215feae89d76a18af23 (patch) | |
tree | aee67d47c0e692bac78dca270caaadf1d123e789 | |
parent | e6ac945fb1cf44fd42617bb241f31623e956a066 (diff) | |
parent | a6e67ab5c1b4a77dbf3605281c10f36a38d19e23 (diff) |
Merge pull request #201 from lowercasename/update-donations-card
Switch donations card to GitHub Sponsors, remove deploy workflow
-rw-r--r-- | .github/workflows/deploy.yaml | 23 | ||||
-rw-r--r-- | package.json | 4 | ||||
-rwxr-xr-x | views/home.handlebars | 12 |
3 files changed, 7 insertions, 32 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml deleted file mode 100644 index 1d0330a..0000000 --- a/.github/workflows/deploy.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: CI / Deploy -on: - workflow_dispatch: - push: - branches: - - main - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: Set up known_hosts file - run: | - mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts - ssh-keyscan ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts - - - uses: webfactory/ssh-agent@v0.9.1 - with: - ssh-private-key: ${{ secrets.SSH_KEY }} - - - name: Run deploy script - run: | - ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} 'cd ${{ secrets.DEPLOY_PATH }} && ./deploy.sh' diff --git a/package.json b/package.json index 26d1d00..15f5f48 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gathio", - "version": "1.5.0", + "version": "1.5.2", "description": "A simple, federated, privacy-first event hosting platform", "main": "index.js", "type": "module", @@ -62,4 +62,4 @@ "nodemon": "^2.0.22", "prettier": "^3.2.5" } -}
\ No newline at end of file +} diff --git a/views/home.handlebars b/views/home.handlebars index 700d875..d5fdb81 100755 --- a/views/home.handlebars +++ b/views/home.handlebars @@ -59,13 +59,11 @@ href="https://github.com/lowercasename/gathio/issues">tracker</a> if you encounter any issues.</p> {{#if showKofi}} - <div class="card border-secondary mt-5 mb-3 mx-auto" style="min-width:300px;max-width:50%;"> - <div class="card-body text-secondary"> - <p>If you find yourself using and enjoying Gathio, consider buying Raphael a coffee. It'll help keep the project - and main site running! <i class="far fa-heart"></i></p> - <script type='text/javascript' src='https://ko-fi.com/widgets/widget_2.js'></script> - <script - type='text/javascript'>kofiwidget2.init('Support Me on Ko-fi', '#46b798', 'Q5Q2O7T5'); kofiwidget2.draw();</script> + <div class="card border-success mt-5 mb-3 mx-auto" style="min-width:300px;max-width:50%;"> + <div class="card-body"> + <p> + If you find yourself using and enjoying Gathio, consider <a href="https://github.com/sponsors/lowercasename" class="text-success">supporting Raphael via GitHub Sponsors</a>. It'll help keep the project and main site running! <i class="far fa-heart"></i> + </p> </div> </div> {{/if}} |