Samuel Philipp
3af1791073
All checks were successful
Build and Deploy Website / Build Website (push) Successful in 1m39s
26 lines
518 B
YAML
26 lines
518 B
YAML
name: Build and Deploy Website
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- develop
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Website
|
|
runs-on: docker
|
|
container:
|
|
image: node:lts
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
- name: Build English Version
|
|
run: npm run build
|
|
- name: Build German Version
|
|
run: npm run build:de
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: website
|
|
path: dist/
|