diff options
| -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 892f9dc..2de0373 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", @@ -64,4 +64,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}}  | 
