Commit b517cf4e authored by breakfast's avatar breakfast

ci fix

parent 67cb9ad7
Pipeline #78759949 failed with stage
in 1 minute and 7 seconds
......@@ -4,10 +4,12 @@ deploy:
- mkdir -p $HOME/.ssh
- cat "${SSH_PRIVATE_KEY}" | tr -d '\r' > $HOME/.ssh/id_rsa
- cat "${SSH_CONFIG}" | tr -d '\r' > $HOME/.ssh/config
- cat "${SSH_KNOWN_HOSTS}" | tr -d '\r' > $HOME/.ssh/known_hosts
- chmod 700 $HOME/.ssh
- chmod 644 $HOME/.ssh/id_rsa
- yarn
- yarn run lessc style.less public/static/style.css
- apt-get update
- apt-get install -y rsync
- ssh hosting ls
- rsync --recursive --itemize-changes public/ hosting:public/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment