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

14 lines
No EOL
463 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
- uses: https://github.com/LuisEnMarroquin/setup-ssh-action@v2.0.5
with:
SSHKEY: ${{ secrets.DEPLOYKEY }}
- run: 'nix develop --command deploy .'