nix-configs/.forgejo/workflows/deploy.yaml

15 lines
No EOL
471 B
YAML

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