2024-05-12 00:31:12 +02:00
|
|
|
name: Build and deploy website
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: docker
|
|
|
|
container:
|
2024-07-24 01:51:18 +02:00
|
|
|
image: registry.access.redhat.com/ubi9/nodejs-20:1-54
|
2024-05-12 00:31:12 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: npm install
|
|
|
|
|
|
|
|
- name: Build site
|
|
|
|
run: npm run build
|