From 06a63aeb0917443aaaf2a268e103f1fb79ac24aa Mon Sep 17 00:00:00 2001 From: cdombroski Date: Tue, 12 Nov 2024 20:57:40 -0500 Subject: [PATCH] Update .forgejo/workflows/deploy.yaml --- .forgejo/workflows/deploy.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 4f70938..afbf8cb 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -4,8 +4,12 @@ jobs: deploy: runs_on: docker steps: - - uses: checkout@v4 + - uses: actions/checkout@v4 with: ref: master - uses: https://github.com/DeterminateSystems/nix-installer-action@main - - run: 'nix develop --command deploy .' \ No newline at end of file + - run: 'echo "$SSH_KEY" > key' + shell: bash + env: + SSH_KEY: ${{secrets.DEPLOYKEY}} + - run: 'nix develop --command deploy --ssh-opts "-i key" .' \ No newline at end of file