main: env
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
93c6284e47
commit
4a2dbb4f3f
@ -20,27 +20,28 @@ jobs:
|
||||
USERNAME: ${{ env.MN1_USER }}
|
||||
PASSWORD: ${{ env.MN1_PASS }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
token: 5b011e0389d2a368a2796152040c2e4817fddef2
|
||||
path: ./src
|
||||
submodules: recursive
|
||||
- name: copy file via ssh password
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
host: ${{ matrix.HOST }}
|
||||
username: ${{ matrix.USERNAME }}
|
||||
password: ${{ matrix.PASSWORD }}
|
||||
port: ${{ matrix.PORT }}
|
||||
source: "src/modules/node-setup"
|
||||
target: "~/NodeSetup/"
|
||||
- name: deploying via ssh
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: ${{ matrix.HOST }}
|
||||
username: ${{ matrix.USERNAME }}
|
||||
password: ${{ matrix.PASSWORD }}
|
||||
port: ${{ matrix.PORT }}
|
||||
script: |
|
||||
cd NodeSetup
|
||||
ls -ashlR ./
|
||||
- run: echo ${{ matrix.PASSWORD }}
|
||||
# - uses: actions/checkout@v4
|
||||
# with:
|
||||
# token: 5b011e0389d2a368a2796152040c2e4817fddef2
|
||||
# path: ./src
|
||||
# submodules: recursive
|
||||
# - name: copy file via ssh password
|
||||
# uses: appleboy/scp-action@v0.1.7
|
||||
# with:
|
||||
# host: ${{ matrix.HOST }}
|
||||
# username: ${{ matrix.USERNAME }}
|
||||
# password: ${{ matrix.PASSWORD }}
|
||||
# port: ${{ matrix.PORT }}
|
||||
# source: "src/modules/node-setup"
|
||||
# target: "~/NodeSetup/"
|
||||
# - name: deploying via ssh
|
||||
# uses: appleboy/ssh-action@v1.0.3
|
||||
# with:
|
||||
# host: ${{ matrix.HOST }}
|
||||
# username: ${{ matrix.USERNAME }}
|
||||
# password: ${{ matrix.PASSWORD }}
|
||||
# port: ${{ matrix.PORT }}
|
||||
# script: |
|
||||
# cd NodeSetup
|
||||
# ls -ashlR ./
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user