www/.forgejo/workflows/build-deploy.yaml

20 Zeilen
380 B
YAML

name: Build and deploy website
on:
push:
branches:
- main
jobs:
build:
runs-on: docker
container:
image: registry.access.redhat.com/ubi9/nodejs-20:1-44.1717080972
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Build site
run: npm run build