netlify -> vercel

This commit is contained in:
Adam Burgess 2021-12-11 17:39:03 +11:00
parent b0371fdad0
commit bba822771a
3 changed files with 9 additions and 2 deletions

View File

@ -7,6 +7,9 @@ platform:
steps:
- name: greeting
image: aburgess/node:latest-npm
environment:
DEPLOY_PASS:
from_secret: DEPLOY_PASS
commands:
- pnpm i
- nr build
- ./deploy

3
deploy
View File

@ -1,5 +1,8 @@
#!/bin/bash
set -e
set -x
rm -rf dist && nr build
curl -s https://deploy.arm.adam.id.au/client.mjs > /tmp/client.mjs
DEPLOY_PATH=dist DEPLOY_PROJECT=homepage DEPLOY_CADDYFILE=Caddyfile node /tmp/client.mjs

View File

@ -187,7 +187,8 @@
<h3><a href="https://tarkov-time.adam.id.au">https://tarkov-time.adam.id.au</a> - source at <a href="https://github.com/adamburgess/tarkov-time">https://github.com/adamburgess/&ZeroWidthSpace;tarkov-time</a></h3>
<p>
Escape from Tarkov has a day/night cycle.<br/>
This site shows you the time, and how long it will be to a future time. Deployed on netlify.
This site shows you the time, and how long it will be to a future time. Deployed on Vercel.<br/>
In addition, uses edge functions to provide an <a href="https://tarkov-time.adam.id.au/api">API</a>
</p>
</div>
<div class="box">