This commit is contained in:
Fiky B 2024-01-25 08:57:00 +07:00
parent 5f5c22172a
commit b17f0c1410

View File

@ -8,14 +8,14 @@ jobs:
run_pull: run_pull:
name: run pull name: run pull
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: ssh_key
steps: steps:
- name: install ssh keys - name: install ssh keys
# check this thread to understand why its needed: # check this thread to understand why its needed:
# https://stackoverflow.com/a/70447517 # https://stackoverflow.com/a/70447517
run: | run: |
echo "${{ env.SSH_HOST }}" echo "${{ secrets.SSH_HOST }}"
echo ${{ env.SSH_USER }} echo '${{ secrets.SSH_USER }}'
echo ${{ vars.WORK_DIR }} echo ${{ vars.WORK_DIR }}
# ssh-keyscan -H ${{ env.SSH_HOST }} > ~/.ssh/known_hosts # ssh-keyscan -H ${{ env.SSH_HOST }} > ~/.ssh/known_hosts