From 03235fd070b75a859af4294f2e1393dc4ef4740d Mon Sep 17 00:00:00 2001
From: _ <_>
Date: Tue, 1 Apr 2025 10:18:02 +0100
Subject: [PATCH] pipeline

---
 .gitea/workflows/release-production.yaml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 .gitea/workflows/release-production.yaml

diff --git a/.gitea/workflows/release-production.yaml b/.gitea/workflows/release-production.yaml
new file mode 100644
index 0000000..39f2a19
--- /dev/null
+++ b/.gitea/workflows/release-production.yaml
@@ -0,0 +1,23 @@
+name: Release to production
+on:
+  push:
+    branches:
+      - main
+
+jobs:
+  build_and_release:
+    runs-on: ubuntu-latest
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+
+      - name: Setup Node
+        uses: actions/setup-node@v2
+        with:
+          node-version: 18
+
+      - name: Release Build
+        run: |
+          npm -g install cloudron-surfer
+          surfer put --token ${{ secrets.CLOUDRON_SURFER_TOKEN }} --server cs-design.nostrdev.com ./* /
\ No newline at end of file