main: env

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2024-12-01 17:20:44 +03:30
parent 93c6284e47
commit 4a2dbb4f3f
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -20,27 +20,28 @@ jobs:
USERNAME: ${{ env.MN1_USER }} USERNAME: ${{ env.MN1_USER }}
PASSWORD: ${{ env.MN1_PASS }} PASSWORD: ${{ env.MN1_PASS }}
steps: steps:
- uses: actions/checkout@v4 - run: echo ${{ matrix.PASSWORD }}
with: # - uses: actions/checkout@v4
token: 5b011e0389d2a368a2796152040c2e4817fddef2 # with:
path: ./src # token: 5b011e0389d2a368a2796152040c2e4817fddef2
submodules: recursive # path: ./src
- name: copy file via ssh password # submodules: recursive
uses: appleboy/scp-action@v0.1.7 # - name: copy file via ssh password
with: # uses: appleboy/scp-action@v0.1.7
host: ${{ matrix.HOST }} # with:
username: ${{ matrix.USERNAME }} # host: ${{ matrix.HOST }}
password: ${{ matrix.PASSWORD }} # username: ${{ matrix.USERNAME }}
port: ${{ matrix.PORT }} # password: ${{ matrix.PASSWORD }}
source: "src/modules/node-setup" # port: ${{ matrix.PORT }}
target: "~/NodeSetup/" # source: "src/modules/node-setup"
- name: deploying via ssh # target: "~/NodeSetup/"
uses: appleboy/ssh-action@v1.0.3 # - name: deploying via ssh
with: # uses: appleboy/ssh-action@v1.0.3
host: ${{ matrix.HOST }} # with:
username: ${{ matrix.USERNAME }} # host: ${{ matrix.HOST }}
password: ${{ matrix.PASSWORD }} # username: ${{ matrix.USERNAME }}
port: ${{ matrix.PORT }} # password: ${{ matrix.PASSWORD }}
script: | # port: ${{ matrix.PORT }}
cd NodeSetup # script: |
ls -ashlR ./ # cd NodeSetup
# ls -ashlR ./