Setup GitHub credentials with SSH to (npm) install private dependencies 🤫 Support macOS, Ubuntu and Windows environments.
GH_SSH_KEY
: Private SSH key. Use encrypted secrets to store such information.
on: push
name: Deploy something
jobs:
build:
name: Run scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: pioug/la-cle@v1.1.0
with:
GH_SSH_KEY: ${{ secrets.GH_SSH_KEY }}
- run: npm ci