Update .forgejo/workflows/deploy.yaml
This commit is contained in:
parent
f8266c625a
commit
06a63aeb09
1 changed files with 6 additions and 2 deletions
|
@ -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" .'
|
Loading…
Reference in a new issue