feat: add workflow for deployment
All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 1m54s
All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 1m54s
This commit is contained in:
parent
16f8877446
commit
62ae8afcf8
1 changed files with 19 additions and 0 deletions
19
.forgejo/workflows/deploy.yml
Normal file
19
.forgejo/workflows/deploy.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: Build and Deploy
|
||||
on: [push]
|
||||
jobs:
|
||||
build_and_deploy:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build the website
|
||||
run: npm run build
|
Loading…
Add table
Add a link
Reference in a new issue