From 80e6a12c9b3791d4f8cd7f5f011b1fa7fad599e5 Mon Sep 17 00:00:00 2001 From: itsscb Date: Wed, 28 Aug 2024 10:22:33 +0200 Subject: [PATCH] feat(workflow): removes unnecessary run on PRs and commits frontend build release --- .github/workflows/prod.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 625934d..bdbbdf8 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -2,9 +2,6 @@ on: push: branches: - master - pull_request: - branches: - - master jobs: build: @@ -50,6 +47,15 @@ jobs: run: | trunk build --release + - name: Commit Frontend Release Build + run: | + git config --global user.name "github-actions" + git config --global user.email "dev@itsscb.de" + git add -A + git commit -m "release: frontend" + git push + + - name: Build and test code run: | cargo build --verbose --release