From d53d67182b4cf61a0d7eab5f1b375ae22fb1e610 Mon Sep 17 00:00:00 2001 From: Samuel Philipp Date: Wed, 6 Dec 2023 02:03:02 +0100 Subject: [PATCH] added workflow initially --- .forgejo/workflows/build-deploy.yml | 21 +++++++++++++++++++++ .woodpecker.yml => .woodpecker.yml.old | 0 2 files changed, 21 insertions(+) create mode 100644 .forgejo/workflows/build-deploy.yml rename .woodpecker.yml => .woodpecker.yml.old (100%) diff --git a/.forgejo/workflows/build-deploy.yml b/.forgejo/workflows/build-deploy.yml new file mode 100644 index 0000000..e7206fb --- /dev/null +++ b/.forgejo/workflows/build-deploy.yml @@ -0,0 +1,21 @@ +name: Build and Deploy Website + +on: + push: + branches: + - main + - develop + +jobs: + build: + name: Build and Deploy Website + runs-on: docker + container: + image: node:lts + steps: + - name: Install Dependencies + run: npm install + - name: Build English Version + run: npm run build + - name: Build German Version + run: npm run build:de diff --git a/.woodpecker.yml b/.woodpecker.yml.old similarity index 100% rename from .woodpecker.yml rename to .woodpecker.yml.old