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