Compare commits

...

6 Commits

Author SHA1 Message Date
Dmitry Porunov
4ad5ddec00 Make script enter passphrase 2019-11-01 04:15:35 +04:00
Dmitry Porunov
faf6a27366 Another try 2019-11-01 04:04:19 +04:00
Dmitry Porunov
f7dd5cf6d3 Debugging 2019-11-01 03:59:24 +04:00
Dmitry Porunov
06046d478d Debugging 2019-11-01 03:56:00 +04:00
Dmitry Porunov
1f7ce8b6fb Add debug echo 2019-11-01 03:51:37 +04:00
Dmitry Porunov
2a391702fd Use echo instead of cat for variable 2019-11-01 03:42:02 +04:00

View File

@@ -69,13 +69,14 @@ package-aur:
# Set up SSH for publishing
- mkdir -p /root/.ssh
- cp ./aur.pub /root/.ssh/id_rsa.pub
- cat "$AUR_SSH_PRIVATE" | base64 -d > /root/.ssh/id_rsa
- echo "$AUR_SSH_PRIVATE" | base64 -d > /root/.ssh/id_rsa
- echo "Host aur.archlinux.org" >> /root/.ssh/config
- echo " IdentityFile /root/.ssh/aur" >> /root/.ssh/config
- echo " User aur" >> /root/.ssh/config
- chmod 600 /root/.ssh/{id_rsa*,config}
- eval `ssh-agent -s`
- ssh-add /root/.ssh/id_rsa
# - ssh-add /root/.ssh/id_rsa
- echo -en "${PASSPHRASE}" | ssh-add /root/.ssh/id_rsa
- ssh-keyscan -H aur.archlinux.org >> /root/.ssh/known_hosts
- git config --global user.name "Dmitry Porunov"
- git config --global user.email "dmitry@auteiy.me"