netlify -> vercel
This commit is contained in:
parent
b0371fdad0
commit
bba822771a
@ -7,6 +7,9 @@ platform:
|
|||||||
steps:
|
steps:
|
||||||
- name: greeting
|
- name: greeting
|
||||||
image: aburgess/node:latest-npm
|
image: aburgess/node:latest-npm
|
||||||
|
environment:
|
||||||
|
DEPLOY_PASS:
|
||||||
|
from_secret: DEPLOY_PASS
|
||||||
commands:
|
commands:
|
||||||
- pnpm i
|
- pnpm i
|
||||||
- nr build
|
- ./deploy
|
||||||
|
3
deploy
3
deploy
@ -1,5 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
rm -rf dist && nr build
|
rm -rf dist && nr build
|
||||||
curl -s https://deploy.arm.adam.id.au/client.mjs > /tmp/client.mjs
|
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
|
DEPLOY_PATH=dist DEPLOY_PROJECT=homepage DEPLOY_CADDYFILE=Caddyfile node /tmp/client.mjs
|
||||||
|
@ -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/​tarkov-time</a></h3>
|
<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/​tarkov-time</a></h3>
|
||||||
<p>
|
<p>
|
||||||
Escape from Tarkov has a day/night cycle.<br/>
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
Loading…
Reference in New Issue
Block a user