Merge pull request #7 from itsscb/feature

feat(workflow):  removes unnecessary run on PRs and commits frontend …
This commit is contained in:
itsscb 2024-08-28 10:25:51 +02:00 committed by GitHub
commit 6c2e50b3b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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