4 Commits

Author SHA1 Message Date
e01714333c Update index.html
added changes in html

Signed-off-by: Rajendra Reddy <rajendra@wdipl.com>
2025-12-02 06:48:50 +00:00
WdiplGit
3f066072f6 ci-workflow-added-by-devops 2025-12-01 07:20:56 +00:00
WdiplGit
dd0d86af03 ci-workflow-added-by-devops 2025-12-01 03:38:53 +00:00
b352091b4b changing command to script
Some checks failed
Test Gitea Actions Workflow / react_deploy (push) Failing after 10s
2025-11-28 20:18:18 +00:00
2 changed files with 24 additions and 11 deletions

View File

@@ -20,22 +20,33 @@ jobs:
# --------------------------------------------------------
# 2. Determine Deployment Folder Based on Branch
# --------------------------------------------------------
- name: Determine Deployment Path
run: |
echo "Detected branch: ${{ gitea.ref_name }}"
BRANCH_NAME="${{ gitea.ref_name }}"
echo BRANCH_NAME=${{ gitea.ref_name }} >> $GITHUB_ENV
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 ;;
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
;;
esac
echo "PROJECT_PATH=$PROJECT_PATH" >> $GITEA_ENV
echo "Selected PROJECT_PATH: $PROJECT_PATH"

View File

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