Update .forgejo/workflows/deploy.yaml

This commit is contained in:
Chris Dombroski 2024-11-12 20:57:40 -05:00
parent f8266c625a
commit 06a63aeb09

View file

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