update collect job to use ssh key

This commit is contained in:
Brendan McDevitt 2025-03-27 17:10:40 -05:00
parent 9ba02601a0
commit c7b7570bbd

View file

@ -12,8 +12,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.TOKEN_NAME }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan git.mcdevitt.tech >> ~/.ssh/known_hosts
- name: Checkout repository
uses: actions/checkout@v4
run: |
git clone git@git.mcdevitt.tech:bpmcdevitt/github_poc_collector.git .
- name: Setup Rust
uses: actions-rs/toolchain@v1