feat(workflow): removes unnecessary run on PRs and commits frontend build release
This commit is contained in:
parent
7ec9215ed1
commit
80e6a12c9b
12
.github/workflows/prod.yml
vendored
12
.github/workflows/prod.yml
vendored
@ -2,9 +2,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -50,6 +47,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
trunk build --release
|
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
|
- name: Build and test code
|
||||||
run: |
|
run: |
|
||||||
cargo build --verbose --release
|
cargo build --verbose --release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user