Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions .github/workflows/deploy.preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Deploy SMSWithoutBorders Blog on Server (preview)

on:
push:
branches:
- preview

permissions:
contents: read

concurrency:
group: preview-deploy
cancel-in-progress: true

jobs:
deploy:
name: Build and Deploy
runs-on: ubuntu-latest
environment:
name: preview
url: https://preview-6.relaysms.afkanerd.de
steps:
- name: Checkout repository
uses: actions/checkout@v7

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 22

- name: Enable Corepack and activate pnpm
run: |
corepack enable
corepack prepare pnpm --activate

- name: Install dependencies
run: pnpm install --no-lockfile

- name: Build application
env:
BASE_URL: ${{ vars.BASE_URL }}
run: pnpm build

- name: Clean remote target directory
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.SSH_KEY }}
script: |
set -e
find "${{ secrets.BUILD_PATH }}" -mindepth 1 -delete

- name: Copy build artifacts to server
uses: appleboy/scp-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.SSH_KEY }}
source: "./out/*"
target: ${{ secrets.BUILD_PATH }}
strip_components: 1
rm: false

- name: Run remote deploy script
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.SSH_KEY }}
script: |
set -e
echo "::group::Deploying preview build"
${{ secrets.BUILD_CMD }}
echo "Deploy command finished successfully."
echo "::endgroup::"
76 changes: 76 additions & 0 deletions .github/workflows/deploy.production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Deploy SMSWithoutBorders Blog on Server (production)

on:
push:
branches:
- main

permissions:
contents: read

concurrency:
group: production-deploy
cancel-in-progress: false

jobs:
deploy:
name: Build and Deploy
runs-on: ubuntu-latest
environment:
name: production
url: https://blog.smswithoutborders.com
steps:
- name: Checkout repository
uses: actions/checkout@v7

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 22

- name: Enable Corepack and activate pnpm
run: |
corepack enable
corepack prepare pnpm --activate

- name: Install dependencies
run: pnpm install --no-lockfile

- name: Build application
env:
BASE_URL: ${{ vars.BASE_URL }}
run: pnpm build

- name: Clean remote target directory
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.SSH_KEY }}
script: |
set -e
find "${{ secrets.BUILD_PATH }}" -mindepth 1 -delete

- name: Copy build artifacts to server
uses: appleboy/scp-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.SSH_KEY }}
source: "./out/*"
target: ${{ secrets.BUILD_PATH }}
strip_components: 1
rm: false

- name: Run remote deploy script
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.SSH_KEY }}
script: |
set -e
echo "::group::Deploying production build"
${{ secrets.BUILD_CMD }}
echo "Deploy command finished successfully."
echo "::endgroup::"
32 changes: 0 additions & 32 deletions .github/workflows/lint.yml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/prod-deploy.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/staging-deploy.yml

This file was deleted.

1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

1 change: 0 additions & 1 deletion _posts/Bridges.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: "RelaySMS Bridges"
excerpt: "Before now RelaySMS required online setup processes, including account creation and saving platforms. RelaySMS Bridges breaks these barriers."
coverImage: "/icon.png"
date: "2024-11-14"
author:
name: "Aysha Musa"
Expand Down
1 change: 0 additions & 1 deletion _posts/Local-Storage-for-Your-Access-Tokens.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: "Local Storage for Your Access Tokens"
excerpt: "Storing your tokens locally means reducing your reliance on our servers and giving you total control of your stored tokens. This is especially valuable for users who value privacy and control over their data."
coverImage: "/icon.png"
date: "2025-06-05"
author:
name: "Aysha Musa"
Expand Down
1 change: 0 additions & 1 deletion _posts/New-Features-on-RelaySMS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: "New Features on RelaySMS"
excerpt: "At SMSWithoutBorders, we're constantly working to improve how users stay connected even without internet access."
coverImage: "/icon.png"
date: "2025-03-14"
author:
name: "Aysha Musa"
Expand Down
1 change: 0 additions & 1 deletion _posts/RelaySMSDesktop.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: "Introducing the RelaySMS Desktop Application"
excerpt: "We’re excited to announce the launch of the RelaySMS Desktop Application, a standalone app designed to bring offline to online messaging to your desktop."
coverImage: "/icon.png"
date: "2024-12-10"
author:
name: "Aysha Musa"
Expand Down
1 change: 0 additions & 1 deletion _posts/audit-blog-post.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: "SMSWithoutBorders: Keeping You Secure - Results of a Penetration Test"
excerpt: "We're committed to keeping your communications safe. That's why we had a rigorous penetration test conducted by Radically Open Security (ROS). While we found and fixed a few vulnerabilities, the good news is that your data is secure with RelaySMS"
coverImage: "/icon.png"
date: "2024-07-31"
author:
name: "Aysha Musa"
Expand Down
1 change: 0 additions & 1 deletion _posts/default-app.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: "RelaySMS Can Now Be Your Default SMS App"
excerpt: "When you set RelaySMS as your default SMS app, all your regular SMS messages move right into your RelaySMS app. You’ll see every text, every conversation, all inside one familiar inbox."
coverImage: "/icon.png"
date: "2025-10-30"
author:
name: "Vanessa Christopher"
Expand Down
Loading
Loading