finally probably

This commit is contained in:
Rolf Martin Glomsrud 2024-08-04 01:18:34 +02:00
parent fb7a349848
commit ea40916d9e

View file

@ -11,8 +11,7 @@ steps:
- npm run build
- mkdir /root/.ssh && chmod 0700 /root/.ssh
- touch /root/.ssh/id_rsa
- echo $SSH_KEY > /root/.ssh/id_rsa
- sleep 500000
- echo $SSH_KEY | base64 --decode > /root/.ssh/id_rsa
- chmod 0600 /root/.ssh/id_rsa
- /bin/rsync -avzh ./dist ansible@$REMOTE_IP:/var/www/polsevev/dist
secrets: [ SSH_KEY, remote_ip ]