feat: deploy action
Some checks are pending
Deploy Website / build (push) Waiting to run

This commit is contained in:
TheClashFruit 2024-04-20 17:03:54 +02:00
parent bdaf5470b4
commit 62f6f2fb6e
Signed by: TheClashFruit
GPG key ID: 09BB24C34C2F3204

View file

@ -0,0 +1,25 @@
name: Deploy Website
on:
push:
branches: 'main'
jobs:
build:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install pnpm
uses: https://github.com/pnpm/action-setup@v3.0.0
- name: Build
run: |
pnpm install
pnpm run build
- name: Deploy
uses: https://git.gay/gitgay/pages-deploy@v2
with:
folder: ./export