woodpecker lol

This commit is contained in:
Rolf Martin Glomsrud 2024-08-04 00:39:55 +02:00
parent 2278272c15
commit 1b464c0f93

View file

@ -11,5 +11,5 @@ steps:
- npm run build - npm run build
- mkdir /root/.ssh && chmod 0700 /root/.ssh - mkdir /root/.ssh && chmod 0700 /root/.ssh
- touch /root/.ssh/id_rsa && echo $SSH_KEY > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa - touch /root/.ssh/id_rsa && echo $SSH_KEY > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
- rsync -avzh ./dist ansible@$REMOTE_IP:/var/www/polsevev/dist - /usr/bin/rsync -avzh ./dist ansible@$REMOTE_IP:/var/www/polsevev/dist