Static parts of my personal website https://ayo.ayco.io
Find a file
2025-08-26 00:20:08 +02:00
.husky chore: test precommit 2025-01-02 12:35:30 +01:00
.vscode chore: format vscode settings.json 2024-12-27 13:59:41 +01:00
_archived style: some color & spacing changes 2025-06-30 11:54:47 +02:00
commands feat: move Footer out of main 2025-06-21 10:57:26 +02:00
public feat: update manifest 2025-06-01 21:06:45 +02:00
src feat(sw): warn if failed to delete old cache 2025-08-26 00:20:08 +02:00
.gitignore feat(sw): warn if failed to delete old cache 2025-08-26 00:20:08 +02:00
.npmrc initial commit 2022-09-17 11:02:10 +02:00
.prettierignore chore: update .prettierignore 2024-12-26 00:38:18 +01:00
astro.config.mjs feat: use package version as asset cache version ID 2025-06-30 13:09:18 +02:00
eslint.config.mjs chore: test precommit 2025-01-02 12:35:30 +01:00
LICENSE chore: add license 2025-03-23 11:16:10 +01:00
package.json 1.3.0 2025-08-19 16:32:42 +02:00
pnpm-lock.yaml chore: update deps & package manager 2025-08-02 10:50:42 +02:00
prettier.config.mjs chore: add prettier astro config 2024-12-25 20:43:27 +01:00
README.md chore: update readme 2025-07-22 09:19:14 +02:00
tsconfig.json chore: add prettier 2024-12-25 20:42:09 +01:00

Astro SSG for my personal site

Background

This is the project for generating the static files for my personal site ayo.ayco.io built with Astro SSG.

Development

You need node and pnpm.

# clone project
$ git clone git@git.sr.ht:~ayoayco/ayco.io-astro

# go into project dir
$ cd ./ayco.io-astro

# install deps
$ pnpm i

Commands

Command Action
pnpm run dev start dev server
pnpm run build generate static files to dist directory
pnpm run deploy upload to my server
pnpm run prep:now back up and clear current now page constants

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.

If you want to run build before deploying, do npm run build:deploy


Just keep building.
~Ayo