Skip to content

Add reusable workflow for setting up SSH agent #17

Add reusable workflow for setting up SSH agent

Add reusable workflow for setting up SSH agent #17

Workflow file for this run

name: Deploy (Staging)
on:
workflow_dispatch: {}
push:
branches:
- helma-🐜
jobs:
stage:
runs-on: ubuntu-latest
environment:
name: stage
url: https://antville-test.click
steps:
- uses: actions/checkout@v4
- name: Set up SSH agent
uses: ./.github/actions/ssh
with:
config: ${{ vars.SSH_CONFIG }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
known-hosts: ${{ vars.SSH_KNOWN_HOSTS }}
- name: Test
run: |
echo $SSH_AUTH_SOCK