5 Commits

Author SHA1 Message Date
WdiplGit
463008712b ci-workflow-added-by-devops
Some checks failed
Test Gitea Actions Workflow / react_deploy (push) Failing after 10s
2025-12-01 14:00:15 +00:00
WdiplGit
90cf1873aa ci-workflow-added-by-devops 2025-12-01 13:54:06 +00:00
WdiplGit
c5798f4fcb ci-workflow-added-by-devops
Some checks failed
Test Gitea Actions Workflow / react_deploy (push) Failing after 1m6s
2025-12-01 07:26:56 +00:00
cb16ce1644 Update .gitea/workflows/deploy.yml
All checks were successful
Test Gitea Actions Workflow / react_deploy (push) Successful in 10s
changes in deploy env for passing it to ssh
2025-11-28 20:27:00 +00:00
4ce1bd70ce Merge pull request 'main' (#1) from main into beta
All checks were successful
Test Gitea Actions Workflow / react_deploy (push) Successful in 10s
Reviewed-on: #1
2025-11-28 20:14:36 +00:00
2 changed files with 11 additions and 24 deletions

View File

@@ -20,33 +20,22 @@ jobs:
# --------------------------------------------------------
# 2. Determine Deployment Folder Based on Branch
# --------------------------------------------------------
- name: Determine Deployment Path
run: |
echo "Detected branch: ${{ gitea.ref_name }}"
echo BRANCH_NAME=${{ gitea.ref_name }} >> $GITHUB_ENV
BRANCH_NAME="${{ gitea.ref_name }}"
case "${{ gitea.ref_name }}" in
beta)
echo "PROJECT_PATH=deployauto" >> $GITHUB_ENV
;;
testing)
echo "PROJECT_PATH=null" >> $GITHUB_ENV
;;
client)
echo "PROJECT_PATH=null" >> $GITHUB_ENV
;;
staging)
echo "PROJECT_PATH=null" >> $GITHUB_ENV
;;
production)
echo "PROJECT_PATH=null" >> $GITHUB_ENV
;;
*)
echo "Unknown branch: ${{ gitea.ref_name }}"
exit 1
;;
case "$BRANCH_NAME" in
beta) PROJECT_PATH="deployauto" ;;
testing) PROJECT_PATH="null" ;;
client) PROJECT_PATH="null" ;;
staging) PROJECT_PATH="null" ;;
production) PROJECT_PATH="null" ;;
*) echo "Unknown branch: $BRANCH_NAME"; exit 1 ;;
esac
echo "PROJECT_PATH=$PROJECT_PATH" >> $GITEA_ENV
echo "Selected PROJECT_PATH: $PROJECT_PATH"

View File

@@ -1,3 +1 @@
<html> Hi Team </html>
<head> this is my head </head>
<body> <h1>this is my body </h1> </body>
<html> Hi Team </html>