get host info

This commit is contained in:
Dragan Filipovic 2022-12-29 16:01:41 +01:00
parent 416e17545e
commit 2fdbdb60e6

View File

@ -7,6 +7,13 @@ on:
env: env:
TEST_PROJECT: ./test_project TEST_PROJECT: ./test_project
EXAMPLE_REMOTE_HOST:
REMOTE_USER:
REMOTE_PORT:
ARGS:
SOURCE:
TARGET:
EXCLUDE: ''
jobs: jobs:
@ -21,9 +28,14 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Create ssh keys - name: Get Host info
run: | run: |
ssh-keygen -m PEM -t rsa -b 4096 -q -f "$HOME/.ssh/id_rsa" -N "" ls -l
ip addr show
whoami
- name: 1. Create ssh keys
run: |
ssh-keygen -m PEM -t rsa -b 4096 -f "$HOME/.ssh/id_rsa" -N ""
shell: bash shell: bash
- name: Create project file - name: Create project file
run: | run: |