Skip to content

Commit

Permalink
ci ssh private key
Browse files Browse the repository at this point in the history
  • Loading branch information
yardenasadosa committed Apr 2, 2024
1 parent c342271 commit 0dbe40e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ jobs:
role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME_PRODUCTION }}
aws-region: ${{ vars.AWS_REGION }}

#this is the private key for ci user, used by jenkins slave, can be found in ssm parameter staging jenkins slave. that allows ssh to airflow.
- name: install the ci private key
uses: webfactory/[email protected]
with:
ssh-private-key: '${{ secrets.CI_SSH_PRIVATE_KEY }}'

- name: Run deployment
run: "$GITHUB_WORKSPACE/github.sh"
shell: bash
Expand Down

0 comments on commit 0dbe40e

Please sign in to comment.