Commit 144157d5 authored by breakfast's avatar breakfast

ci test

parent 82531bc9
Pipeline #78756206 failed with stage
in 1 minute and 5 seconds
pages:
deploy:
image: node:latest
script:
- mkdir -p .ssh
- echo 'Host jeffs.eu' > .ssh/config
- echo ' User www-jeffs' >> .ssh/config
- echo ' IdentityFile ~/.ssh/id_rsa' >> .ssh/config
- cat "$SSH_PRIVATE_KEY" | tr -d '\r' > .ssh/id_rsa
- chmod 700 .ssh
- chmod 644 .ssh/id_rsa
- yarn
- yarn run lessc style.less static/style.css
- yarn run lessc style.less public/static/style.css
- mkdir public
- mv redirect.html public/index.html
artifacts:
paths:
- public
only:
- master
- rsync --recursive --itemize-changes public/ jeffs.eu:public/
......@@ -14,5 +14,5 @@ yarn
Run this after each style change:
```bash
yarn run lessc style.less static/style.css
yarn run lessc style.less public/static/style.css
```
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Jeff's Vehicle Warfare</title>
<meta http-equiv="refresh" content="0; url=http://jeffs.eu/" />
</head>
<body>
Redirecting you to new website location: <a href="http://jeffs.eu/">http://jeffs.eu/</a>
</body>
</html>
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