Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put password on deploy key #47

Open
NatoBoram opened this issue Jun 13, 2024 · 0 comments
Open

Put password on deploy key #47

NatoBoram opened this issue Jun 13, 2024 · 0 comments

Comments

@NatoBoram
Copy link
Owner

This step might be absolutely useless, but ¯\_(ツ)_/¯

❯ { sleep .1; echo 1234; } | script -q /dev/null -c 'ssh-add ./new_ssh_key'
Enter passphrase for ./new_ssh_key: 
Identity added: ./new_ssh_key (@natoboram/gigachad.ts)

eval `ssh-agent -s`
ssh-add - <<< '${{ secrets.DEPLOY_KEY_PRIVATE }}'

Will probably need to be placed before actions/checkout@v4

- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY_PRIVATE }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant