- Update title to remove redundant "用於"
- Add links to English and Simplified Chinese versions of the README
- Add a note about the project using Golang and drone-ssh
- Replace detailed input variable descriptions with a table format
- Add new input variables `protocol`, `proxy_protocol`, `envs_format`, `allenvs`, and `request_pty`
- Update usage section to refer to `action.yml` for detailed information
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Capitalize "SSH" in multiple instances for consistency
- Change "This thing" to "This project" for clarity and professionalism
- Capitalize "Pass" in the description of the `allenvs` option
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update README badges to reflect the new GitHub Actions workflow
- Remove outdated information about Linux Docker container support in README files
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update `appleboy/ssh-action` from version `v1.0.3` to `v1.2.0` in bug report template
- Update `appleboy/ssh-action` from version `v1.0.3` to `v1.2.0` in stable workflow
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update `appleboy/ssh-action` from version `v1.1.0` to `v1.2.0` in multiple instances
- Add `script_file` option to the Chinese (Simplified) and Chinese (Traditional) README files
- Add example for executing commands from a file in the Chinese (Simplified) and Chinese (Traditional) README files
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Change the username from `${{ secrets.USERNAME }}` to `linuxserver.io`
- Update the output from `***` to `linuxserver.io`
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update DRONE_SSH_VERSION from 1.7.7 to 1.8.0
- Add missing case statement terminator in detect_client_info function
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Add `proxy_protocol` option to the README with possible values `tcp`, `tcp4`, `tcp6` and default `tcp`
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update `appleboy/ssh-action` from version `v1.0.3` to `v1.1.0` in multiple instances
- Fix table formatting in `README.md`
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Add GitHub Actions workflow for GoReleaser
- Configure GoReleaser to skip builds
- Set up changelog groups for features, bug fixes, enhancements, refactors, build process updates, and documentation updates
Signed-off-by: appleboy <appleboy.tw@gmail.com>
* ci: enhance GitHub Actions with secret variable support
- Add a step to pass secret variables in the shell within the GitHub Actions workflow
Signed-off-by: appleboy <appleboy.tw@gmail.com>
* ci: enhance CI workflow and API integration
- Add `continue-on-error: true` to the GitHub Actions workflow
Signed-off-by: appleboy <appleboy.tw@gmail.com>
* ci: improve GitHub Actions workflow reliability
- Add `continue-on-error: true` to the GitHub Actions workflow
Signed-off-by: appleboy <appleboy.tw@gmail.com>
---------
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Add instructions to install `xclip` on Ubuntu before copying the private key
- Replace `clip` command with platform-specific commands (`pbcopy` for macOS and `xclip` for Ubuntu) for copying the private key
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Increase curl retry attempts from 3 to 5
- Add echo statements to display CLI version before and after running the version command
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update drone-ssh Docker image version from `1.7.4` to `1.7.7`
- Update DRONE_SSH_VERSION environment variable default from `1.7.4` to `1.7.7`
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Rename workflow from "remote ssh command" to "testing main branch"
- Remove environment variables `FOO` and `BAR`
- Rename job `testing01` to `default-user-name-password`
- Rename step "checkout" to "Checkout code"
- Replace step "correct password but wrong key" with "create new ssh server" using Docker
- Update SSH connection details to use environment variables for host, username, password, and port
- Add new job `check-ssh-key` with steps to add public key to environment and create a new SSH server
- Add new job `support-key-passphrase` with steps to add public key to environment and create a new SSH server
- Add new job `multiple-server` to create and manage multiple SSH servers
- Add new job `support-ed25519-key` with steps to add public key to environment and create a new SSH server
- Add new job `testing-with-env` with steps to add public key to environment and create a new SSH server
- Remove jobs `testing02`, `testing03`, `testing04`, and `testing05`
- Rename workflow in `ssh-server.yml` from "openssh-server" to "testing stable version"
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Remove hardcoded user password from environment variables
- Replace hardcoded password with a private key for SSH authentication
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Change `SUDO_ACCESS` environment variable from `false` to `true`
- Add a step to switch to root user using `appleboy/ssh-action@v1.0.3` with specified parameters and commands
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Add a new job `testing-with-env` to the GitHub Actions workflow
- Add steps to set up environment variables for public and private SSH keys
- Add a step to create a new SSH server using Docker
- Add a step to test the SSH connection using the `id_ed25519` key
- Add a step to pass a single environment variable to the SSH action
- Add a step to pass multiple environment variables to the SSH action
- Add a step to use a custom format for environment variables
- Add a step to pass all environment variables to the SSH action
Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Add a new job `support-ed25519-key` to the GitHub Actions workflow
- Add steps to the new job for checking out code, adding public and private keys to the environment, and creating a new SSH server
- Add steps to the new job for testing the `id_ed25519` key using `appleboy/ssh-action`
- Add a new private SSH key file `testdata/.ssh/id_ed25519`
- Add a new public SSH key file `testdata/.ssh/id_ed25519.pub`
Signed-off-by: appleboy <appleboy.tw@gmail.com>