From 4bb307df8d481e3bdac84942e8b83f0aa2d7c641 Mon Sep 17 00:00:00 2001
From: parsa aghaei
Date: Sun, 9 Aug 2026 21:42:16 +0330
Subject: [PATCH] deploy.yml updated for new deploy.sh
---
.gitea/workflows/deploy.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml
index 0b7b172..520f434 100644
--- a/.gitea/workflows/deploy.yml
+++ b/.gitea/workflows/deploy.yml
@@ -10,8 +10,14 @@ jobs:
deploy:
runs-on: canina
steps:
+ - name: Checkout Code
+ uses: actions/checkout@v3
+
+ - name: Give execute permission to script
+ run: chmod +x scripts/deploy.sh
+
- name: Run Deployment Script
env:
BRANCH: ${{ github.ref_name }}
run: |
- bash /opt/services/canina/deploy.sh ${BRANCH}
\ No newline at end of file
+ bash scripts/deploy.sh ${BRANCH}
\ No newline at end of file