ci-workflow-added-by-devops
Some checks failed
Test Gitea Actions Workflow / react_deploy (push) Failing after 10s
Some checks failed
Test Gitea Actions Workflow / react_deploy (push) Failing after 10s
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
name: Test Gitea Actions Workflow
|
name: Test Gitea Actions Workflow
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -20,14 +21,14 @@ jobs:
|
|||||||
- name: Execute remote SSH commands using password
|
- name: Execute remote SSH commands using password
|
||||||
uses: appleboy/ssh-action@v1
|
uses: appleboy/ssh-action@v1
|
||||||
|
|
||||||
env:
|
|
||||||
BRANCH_NAME: ${{ gitea.ref_name }}
|
|
||||||
|
|
||||||
with:
|
with:
|
||||||
host: ${{ vars.NODE_SERVER_HOST }}
|
host: ${{ vars.NODE_SERVER_HOST }}
|
||||||
username: ${{ vars.NODE_SERVER_USER }}
|
username: ${{ vars.NODE_SERVER_USER }}
|
||||||
password: ${{ vars.NODE_SERVER_PASSWORD }}
|
password: ${{ vars.NODE_SERVER_PASSWORD }}
|
||||||
port: ${{ vars.NODE_SERVER_PORT }}
|
port: ${{ vars.NODE_SERVER_PORT }}
|
||||||
|
envs: BRANCH_NAME
|
||||||
|
BRANCH_NAME: ${{ gitea.ref_name }}
|
||||||
|
|
||||||
script: |
|
script: |
|
||||||
echo "Incoming Branch : $BRANCH_NAME"
|
echo "Incoming Branch : $BRANCH_NAME"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user