Static parts of my personal website https://ayo.ayco.io
Find a file
2025-05-17 09:40:35 +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
commands refactor: remove duplicate main section styling 2025-04-13 02:18:40 +02:00
public feat: add icons 2025-02-14 22:07:42 +01:00
src feat: update about page 2025-05-17 08:43:24 +02:00
.build.yml chore: add auto mirror to github build script 2025-02-09 14:44:14 +01:00
.gitignore chore: git ignore eslint cache 2024-12-27 16:57:47 +01: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 perf: use astro Image optimization 2025-01-04 00:25:05 +01: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 chore: use env file for deploy host script 2025-05-17 09:39:11 +02:00
pnpm-lock.yaml chore(deps): update to latest 2025-04-12 20:39:21 +02:00
prettier.config.mjs chore: add prettier astro config 2024-12-25 20:43:27 +01:00
README.md chore update readme 2025-05-17 09:40:35 +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 run build and upload to my server
pnpm run prep:now back up and clear current now page constants

For the deploy script, you need to add an environmental variable named HOST


Just keep building. ~Ayo