From 2114d0d605eb8054413098449978b2cc36197a53 Mon Sep 17 00:00:00 2001 From: Nick Slowinski Date: Sun, 12 May 2024 00:31:12 +0200 Subject: [PATCH] Add action config for main branch Signed-off-by: Nick Slowinski --- .forgejo/workflows/build-deploy.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .forgejo/workflows/build-deploy.yaml diff --git a/.forgejo/workflows/build-deploy.yaml b/.forgejo/workflows/build-deploy.yaml new file mode 100644 index 0000000..7fa9ac0 --- /dev/null +++ b/.forgejo/workflows/build-deploy.yaml @@ -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 \ No newline at end of file