Merge pull request #7 from itsscb/feature
feat(workflow): removes unnecessary run on PRs and commits frontend …
This commit is contained in:
commit
6c2e50b3b0
12
.github/workflows/prod.yml
vendored
12
.github/workflows/prod.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user