autocommit
This commit is contained in:
parent
f6be34983c
commit
0af2e4db8f
@ -19,6 +19,8 @@ docker exec -i --user git gitea gitea admin user create --username $GITEA_USER_N
|
||||
docker exec -i --user git gitea gitea admin user list
|
||||
"
|
||||
|
||||
ssh-keygen -f ~/.ssh/known_hosts -R $GITEA_API_HOST
|
||||
|
||||
echo "Connecting to server and executing command..."
|
||||
echo $ssh_cmd
|
||||
ssh -p $SERVER_SSH_PORT $SERVER_REMOTE_USER@$SERVER_REMOTE_HOST "$ssh_cmd"
|
||||
@ -38,8 +40,6 @@ echo "Save GITEA_WRITE_USER_REPO token to $INSTALL_ENV..."
|
||||
cd /data/gitea-init
|
||||
bash env-gen-install.sh GITEA_WRITE_USER_REPO $TOKEN
|
||||
|
||||
ssh-keygen -f ~/.ssh/known_hosts -R $GITEA_API_HOST
|
||||
|
||||
echo "Add public SSH key to gitea app..."
|
||||
SSH_PUBLIC_KEY=$(cat ~/.ssh/id_ed25519.pub)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user