From 96f28dbba476a3408697d5d53485bcc6f93abed3 Mon Sep 17 00:00:00 2001 From: redglow Date: Mon, 22 Jun 2026 08:46:01 +0200 Subject: [PATCH] ci: artifacts --- .gitea/workflows/cicd.yaml | 22 ++++++++++++++++++++-- owof-announcements | 1 + 2 files changed, 21 insertions(+), 2 deletions(-) create mode 160000 owof-announcements diff --git a/.gitea/workflows/cicd.yaml b/.gitea/workflows/cicd.yaml index 2c7a564..238a09a 100644 --- a/.gitea/workflows/cicd.yaml +++ b/.gitea/workflows/cicd.yaml @@ -7,7 +7,7 @@ on: - main jobs: - checkout: + build: name: Build steps: - name: Checkout Source Code @@ -17,4 +17,22 @@ jobs: run: npm i yarn -g - name: Yarn install (dev) shell: bash - run: yarn install \ No newline at end of file + run: yarn install + - name: Vite build + shell: bash + run: ./node_modules/.bin/vite build + - name: Yarn install (prod) + shell: bash + run: rm -rf node_modules && yarn install --production=true + - name: Publish artifacts + uses: actions/upload-artifact@v7 + path: | + dist + index.html + node_modules + package.json + public + src + tsconfig.json + vite.config.json + yarn.lock \ No newline at end of file diff --git a/owof-announcements b/owof-announcements new file mode 160000 index 0000000..742132f --- /dev/null +++ b/owof-announcements @@ -0,0 +1 @@ +Subproject commit 742132fbb01f5f84755b20e7401d37c9bc400239