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/[email protected]
with:
GH_SSH_KEY: ${{ secrets.GH_SSH_KEY }}
- run: npm ci