From aeb049451dec2f82ab407f06457096056d63988e Mon Sep 17 00:00:00 2001
From: Helldragon67 <kilian.scheidecker@orange.fr>
Date: Thu, 17 Oct 2024 16:24:04 +0800
Subject: [PATCH] added theme deployment

---
 .github/workflows/deploy-theme.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 .github/workflows/deploy-theme.yml

diff --git a/.github/workflows/deploy-theme.yml b/.github/workflows/deploy-theme.yml
new file mode 100644
index 0000000..3872e67
--- /dev/null
+++ b/.github/workflows/deploy-theme.yml
@@ -0,0 +1,16 @@
+name: Deploy Theme
+on:
+  push:
+    branches:
+      - master
+      - main
+jobs:
+  deploy:
+    runs-on: ubuntu-22.04
+    steps:
+      - uses: actions/checkout@v3
+      - name: Deploy Ghost Theme
+        uses: TryGhost/action-deploy-theme@v1
+        with:
+          api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
+          api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
\ No newline at end of file