28 Zeilen
Kein EOL
570 B
YAML
28 Zeilen
Kein EOL
570 B
YAML
name: Build and deploy website
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
logLevel:
|
|
description: 'Log Level'
|
|
required: true
|
|
default: 'warning'
|
|
type: choice
|
|
options:
|
|
- info
|
|
- warning
|
|
- debug
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
container:
|
|
image: registry.access.redhat.com/ubi9/nodejs-20:1-48.1720017855
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
|
|
- name: Build site
|
|
run: npm run build |