mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[PR #114] [MERGED] feat: pre command for ssh deploy #848
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#848
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/certimate-go/certimate/pull/114
Author: @sgpublic
Created: 9/27/2024
Status: ✅ Merged
Merged: 9/27/2024
Merged by: @usual2970
Base:
main← Head:feat/pre_command📝 Commits (2)
9acdd15feat: pre command for ssh deploye7e2e47chore: create a func for running ssh command📊 Changes
4 files changed (+55 additions, -24 deletions)
View changed files
📝
internal/deployer/ssh.go(+34 -23)📝
ui/package.json(+1 -1)📝
ui/src/components/certimate/AccessSSHForm.tsx(+19 -0)📝
ui/src/domain/access.ts(+1 -0)📄 Description
Close #72
在
internal/deployer/ssh.go里,因为一个 session 只能使用一次session.Run,想实现增加一个前置命令就只能再 New 个 session,我这里的写法我不太确定是否符合这个项目的风格,大佬轻喷(doge🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.