Add action config for main branch
Alle Prüfungen waren erfolgreich
Build and deploy website / build (push) Successful in 47s
Alle Prüfungen waren erfolgreich
Build and deploy website / build (push) Successful in 47s
Signed-off-by: Nick Slowinski <nick@nick-slowinski.de>
Dieser Commit ist enthalten in:
Ursprung
04c045dcee
Commit
2114d0d605
1 geänderte Dateien mit 20 neuen und 0 gelöschten Zeilen
20
.forgejo/workflows/build-deploy.yaml
Normale Datei
20
.forgejo/workflows/build-deploy.yaml
Normale Datei
|
@ -0,0 +1,20 @@
|
|||
name: Build and deploy website
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: registry.access.redhat.com/ubi9/nodejs-20:1-34
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Build site
|
||||
run: npm run build
|
Laden …
In neuem Issue referenzieren