diff --git a/.drone.yml b/.drone.yml index 86973a0..b41148e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/deploy b/deploy index 63e53e5..6bedafa 100755 --- a/deploy +++ b/deploy @@ -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 diff --git a/src/index.html b/src/index.html index 4ac15a4..cd91b2e 100644 --- a/src/index.html +++ b/src/index.html @@ -187,7 +187,8 @@

https://tarkov-time.adam.id.au - source at https://github.com/adamburgess/​tarkov-time

Escape from Tarkov has a day/night cycle.
- 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.
+ In addition, uses edge functions to provide an API