--- name: MainnetNodesSetup run-name: ⚒️ 🚀 on: push: branches: - "main" jobs: main-net: runs-on: ubuntu-latest strategy: matrix: include: - name: MN1 key: ${{ secrets.MN1KEY }} HOST: ${{ env.MN1_HOST }} PORT: ${{ env.MN1_PORT }} USERNAME: ${{ env.MN1_USER }} PASSWORD: ${{ env.MN1_PASS }} steps: - 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 ./