shell

🚀 GitHub Actions で SFTP 自動デプロイする

Featured image of the post

main への git push を起点に、GitHub Actions から SFTP(SSH 鍵認証)でサーバへ自動デプロイする方法です。上書き配信と、SFTP のみのサーバで lftp による完全同期も仮の名前でまとめています。

シェルコマンドのhistoryファイルの場所

Featured image of the post

滅多に利用しないhistory

sudo入力後の補完

Featured image of the post

ユーザーではコマンドの補完が効くけど、sudo実行時は補完が効かない時があるよね