Compare commits

...

3 Commits

Author SHA1 Message Date
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
Dmitry Porunov
3d3125f4fe Fix .gitlab-ci.yml 2019-11-01 03:33:44 +04:00

View File

@@ -64,12 +64,14 @@ package-aur:
# else # else
# echo "Not making git source package, it has not changed" # echo "Not making git source package, it has not changed"
# fi # fi
# - cd .. - cd ..
# Set up SSH for publishing # Set up SSH for publishing
- mkdir -p /root/.ssh - mkdir -p /root/.ssh
- echo "$AUR_SSH_PRIVATE"
- sleep 5
- cp ./aur.pub /root/.ssh/id_rsa.pub - 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 "Host aur.archlinux.org" >> /root/.ssh/config
- echo " IdentityFile /root/.ssh/aur" >> /root/.ssh/config - echo " IdentityFile /root/.ssh/aur" >> /root/.ssh/config
- echo " User aur" >> /root/.ssh/config - echo " User aur" >> /root/.ssh/config