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
This commit is contained in:
2025-11-28 20:27:00 +00:00
parent 4ce1bd70ce
commit cb16ce1644

View File

@@ -16,6 +16,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
env:
BRANCH_NAME: ${{ gitea.ref_name }}
- name: Execute remote SSH commands using password
uses: appleboy/ssh-action@v1
@@ -26,7 +28,6 @@ jobs:
password: ${{ vars.NODE_SERVER_PASSWORD }}
port: ${{ vars.NODE_SERVER_PORT }}
envs: BRANCH_NAME
BRANCH_NAME: ${{ gitea.ref_name }}
command: |
echo "Incoming Branch : $BRANCH_NAME"