From db705e6f7f465ad385c99e6d64a89e0e066b1aab Mon Sep 17 00:00:00 2001 From: cdombroski Date: Tue, 12 Nov 2024 21:09:08 -0500 Subject: [PATCH] Update .forgejo/workflows/deploy.yaml --- .forgejo/workflows/deploy.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index afbf8cb..1e4c53d 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -8,8 +8,7 @@ jobs: 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" .' \ No newline at end of file + - uses: https://github.com/LuisEnMarroquin/setup-ssh-action@v2.0.5 + with: + SSHKEY: ${{ secrets.DEPLOYKEY }} + - run: 'nix develop --command deploy .' \ No newline at end of file