Commit 0681f55c authored by insert's avatar insert 🎺

Build and push to web server

parent 566ccf52
Pipeline #238 canceled with stage
in 48 seconds
......@@ -5,8 +5,14 @@ variables:
stages:
- build
before_script:
- apk update
- apk add rsync
- yarn install
build:
stage: build
script:
- yarn build
\ No newline at end of file
- yarn build
- echo "${SSH_PRIVATE_KEY}" > id_rsa
- chmod 700 id_rsa
- mkdir "${HOME}/.ssh"
- rsync -hrvz --delete --exclude=_ -e 'ssh -oStrictHostKeyChecking=no -p 16767 -i id_rsa' out/ pi@insrt.uk:/var/www/bruh.beta.riotchat.gq/
\ No newline at end of file
......@@ -18,7 +18,7 @@
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
......
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