added workflow initially
This commit is contained in:
parent
7b3f2a1d84
commit
d53d67182b
2 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/build-deploy.yml
Normal file
21
.forgejo/workflows/build-deploy.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Build and Deploy Website
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- develop
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build and Deploy Website
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: node:lts
|
||||||
|
steps:
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm install
|
||||||
|
- name: Build English Version
|
||||||
|
run: npm run build
|
||||||
|
- name: Build German Version
|
||||||
|
run: npm run build:de
|
Loading…
Reference in a new issue