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