2024-11-12 20:51:36 -05:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs_on: docker
|
|
|
|
steps:
|
2024-11-12 20:57:40 -05:00
|
|
|
- uses: actions/checkout@v4
|
2024-11-12 20:51:36 -05:00
|
|
|
with:
|
|
|
|
ref: master
|
|
|
|
- uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
2024-11-12 20:57:40 -05:00
|
|
|
- run: 'echo "$SSH_KEY" > key'
|
|
|
|
shell: bash
|
|
|
|
env:
|
|
|
|
SSH_KEY: ${{secrets.DEPLOYKEY}}
|
|
|
|
- run: 'nix develop --command deploy --ssh-opts "-i key" .'
|