main
1on:
2 push:
3 branches:
4 - main
5
6jobs:
7 deploy:
8 runs-on: codeberg-tiny-lazy
9 steps:
10 - name: Checkout code
11 uses: actions/checkout@v6
12 with:
13 submodules: true
14 - name: Setup Node.js
15 uses: actions/setup-node@v6
16 with:
17 node-version: "24"
18 - name: Setup PNPM
19 uses: https://github.com/pnpm/action-setup@v4
20 with:
21 version: 10
22 run_install: true
23 cache: true
24 - name: Build project
25 run: pnpm build
26 - name: Deploy to Codeberg Pages
27 uses: actions/git-pages@v2
28 with:
29 site: "https://${{ forge.repository_owner }}.codeberg.page/Tybios/"
30 token: ${{ forge.token }}
31 source: "dist/"