Update .gitea/workflows/deploy.yml
All checks were successful
Test Gitea Actions Workflow / react_deploy (push) Successful in 10s
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user