Compare commits

...

12 commits
v1.3.5 ... main

Author SHA1 Message Date
Ayo
62a0c45842 chore: add example .env file 2025-11-21 11:12:29 +01:00
Ayo
1262e971c4 chore: update instructions on cache invalidation 2025-11-21 11:09:51 +01:00
Ayo
e097c27286 chore: update deployment instructions 2025-11-21 11:07:23 +01:00
Ayo
174f88776e 1.3.11 2025-11-21 11:05:12 +01:00
Ayo
5309732f80 1.3.10 2025-11-21 11:05:07 +01:00
Ayo
98f6aaddcd 1.3.9 2025-11-21 11:04:57 +01:00
Ayo
0d0a27038f feat: update bsky bridged csv 2025-11-21 11:04:53 +01:00
Ayo
1bce80b7b5 1.3.8 2025-11-21 10:41:11 +01:00
Ayo
fc0c3fcc12 1.3.7 2025-11-21 10:41:07 +01:00
Ayo
c630b75655 1.3.6 2025-11-21 10:40:46 +01:00
Ayo
6be1724d19 feat: update bsky bridged accounts csv 2025-11-21 10:40:39 +01:00
Ayo
38a822c1d5 chore: update readme 2025-11-18 09:52:47 +01:00
4 changed files with 21 additions and 12 deletions

2
.env.example Normal file
View file

@ -0,0 +1,2 @@
# replace with correct IP, and rename the file to .env
HOST=123.456.789.00

View file

@ -10,7 +10,7 @@ You need [node](https://nodejs.org) and [pnpm](https://pnpm.io).
```bash ```bash
# clone project # clone project
$ git clone git@git.sr.ht:~ayoayco/ayco.io-astro $ git clone https://git.ayo.run/ayo/ayco.io-astro
# go into project dir # go into project dir
$ cd ./ayco.io-astro $ cd ./ayco.io-astro
@ -26,16 +26,25 @@ $ pnpm i
| ------------------- | ---------------------------------------------- | | ------------------- | ---------------------------------------------- |
| `pnpm run dev` | start dev server | | `pnpm run dev` | start dev server |
| `pnpm run build` | generate static files to `dist` directory | | `pnpm run build` | generate static files to `dist` directory |
| `pnpm run deploy` | upload to my server | | `pnpm run deploy` | upload to my server |
| `pnpm run prep:now` | back up and clear current `now page` constants | | `pnpm run prep:now` | back up and clear current `now page` constants |
## Deployment ## Deployment
For the script `npm run deploy`, you need to add an environmental variable named HOST containing the IP address of the host server. This will scp the build files into the server. For the script `npm run deploy`, you need to add an environmental variable named HOST containing the IP address of the host server. This will scp the build files into the server.
If you want to run build before deploying, do `npm run build:deploy` You can do this by adding a `.env` file with the following content (replace the IP):
----- ```bash
# .env
HOST=123.456.789.00
```
*Just keep building.*<br /> There is a service worker (`src/sw.mjs`) that caches assets on client browsers. For cache invalidation, the version property in package.json is used. Increment the version via `npm version patch` (or `minor`, `major`) if there is a significant change in the website's assets.
*~Ayo*
If you want to run build before deploying, do `npm run build:deploy`
---
_Just keep building._<br />
_~Ayo_

View file

@ -1,7 +1,7 @@
{ {
"name": "@ayco/personal-website", "name": "@ayco/personal-website",
"type": "module", "type": "module",
"version": "1.3.5", "version": "1.3.11",
"private": true, "private": true,
"scripts": { "scripts": {
"astro": "astro", "astro": "astro",

View file

@ -8,8 +8,7 @@ jay.bsky.team@bsky.brid.gy, true, false,
b0rk.jvns.ca@bsky.brid.gy, true, false, b0rk.jvns.ca@bsky.brid.gy, true, false,
seldo.com@bsky.brid.gy, true, false, seldo.com@bsky.brid.gy, true, false,
nerdy.dev@bsky.brid.gy, true, false, nerdy.dev@bsky.brid.gy, true, false,
wongmjane.com@bsky.brid.gy, true, false, samuel.fm@bsky.brid.gy, true, false,
samuel.bsky.team@bsky.brid.gy, true, false,
laurenshof.online@bsky.brid.gy, true, false, laurenshof.online@bsky.brid.gy, true, false,
bell.bz@bsky.brid.gy, true, false, bell.bz@bsky.brid.gy, true, false,
matrix.org@bsky.brid.gy, true, false, matrix.org@bsky.brid.gy, true, false,
@ -29,10 +28,9 @@ jacobhands.com@bsky.brid.gy, true, false,
malstrom.me@bsky.brid.gy, true, false, malstrom.me@bsky.brid.gy, true, false,
shuuji3.xyz@bsky.brid.gy, true, false, shuuji3.xyz@bsky.brid.gy, true, false,
intenttoship.dev@bsky.brid.gy, true, false, intenttoship.dev@bsky.brid.gy, true, false,
haoqun.dev@bsky.brid.gy, true, false,
element.io@bsky.brid.gy, true, false, element.io@bsky.brid.gy, true, false,
e18e.dev@bsky.brid.gy, true, false, e18e.dev@bsky.brid.gy, true, false,
danabra.mov@bsky.brid.gy, true, false, danabra.mov@bsky.brid.gy, true, false,
heydonworks.bsky.social@bsky.brid.gy, true, false, heydonworks.com@bsky.brid.gy, true, false,
danielroe.dev@bsky.brid.gy, true, false, danielroe.dev@bsky.brid.gy, true, false,
patak.dev@bsky.brid.gy, true, false, patak.dev@bsky.brid.gy, true, false,

1 Account address Show boosts Notify on new posts Languages
8 b0rk.jvns.ca@bsky.brid.gy true false
9 seldo.com@bsky.brid.gy true false
10 nerdy.dev@bsky.brid.gy true false
11 wongmjane.com@bsky.brid.gy samuel.fm@bsky.brid.gy true false
samuel.bsky.team@bsky.brid.gy true false
12 laurenshof.online@bsky.brid.gy true false
13 bell.bz@bsky.brid.gy true false
14 matrix.org@bsky.brid.gy true false
28 malstrom.me@bsky.brid.gy true false
29 shuuji3.xyz@bsky.brid.gy true false
30 intenttoship.dev@bsky.brid.gy true false
haoqun.dev@bsky.brid.gy true false
31 element.io@bsky.brid.gy true false
32 e18e.dev@bsky.brid.gy true false
33 danabra.mov@bsky.brid.gy true false
34 heydonworks.bsky.social@bsky.brid.gy heydonworks.com@bsky.brid.gy true false
35 danielroe.dev@bsky.brid.gy true false
36 patak.dev@bsky.brid.gy true false