Coder Social home page Coder Social logo

Comments (5)

khoazero123 avatar khoazero123 commented on June 4, 2024 2

I made fork for add new option cleanup to keep the .ssh folder.

https://github.com/khoazero123/ssh-key-action#usage

- name: Install SSH key for LIVE
        uses: khoazero123/ssh-key-action@dev
        with:
          key: ${{ secrets.DEPLOY_SSH_KEY_LIVE || vars.DEPLOY_SSH_KEY_LIVE }}
          name: id_rsa-bastion # optional
          known_hosts: unnecessary
          if_key_exists: replace # replace / ignore / fail; optional (defaults to fail)
          cleanup: false # Should remove .ssh directory? set false to keep .ssh directory

from ssh-key-action.

albertodebortoli avatar albertodebortoli commented on June 4, 2024 1

Thank you. I just tried this action and it caused an outage on our CI.

from ssh-key-action.

dpagini avatar dpagini commented on June 4, 2024

Ugh. This just caused me an enterprise outage as well. We are also using a self-hosted runner. I wasn't able to figure out what about this release caused everything to break, but rolling back to 2.4.0 fixed everything for me.

I was actually seeing that none of my SSH files were being copied to my runner when using the 2.5.0 build. So it wasn't just about the delete, I don't believe.

from ssh-key-action.

mym0404 avatar mym0404 commented on June 4, 2024

👍🏻 I just restored all my local ssh keys......

I think the package should provide one of the following.

  • input to choose whether delete ssh dir or not
  • custom path to ssh install

from ssh-key-action.

shimataro avatar shimataro commented on June 4, 2024

Very sorry for the late reply.
This issue will be fixed in #251, which will be shipped soon.

from ssh-key-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.