mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
test gto step - with merge to master
This commit is contained in:
parent
4107dd7642
commit
c871c0d610
1 changed files with 11 additions and 13 deletions
24
.github/workflows/MLPipelinePostMerge.yml
vendored
24
.github/workflows/MLPipelinePostMerge.yml
vendored
|
|
@ -1,22 +1,22 @@
|
|||
name: Register the model for the given pipeline branch
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "model-**"
|
||||
|
||||
# on:
|
||||
# pull_request:
|
||||
# types:
|
||||
# - closed
|
||||
# push:
|
||||
# branches:
|
||||
# - "master"
|
||||
# - "model-**"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
permissions: write-all
|
||||
|
||||
jobs:
|
||||
if_merged:
|
||||
# if: github.event.pull_request.merged == true
|
||||
Register-New-Model:
|
||||
if: github.event.pull_request.merged == true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
@ -37,8 +37,6 @@ jobs:
|
|||
git config user.name "Github-Bot"
|
||||
git config user.email "Github-Bot"
|
||||
|
||||
git fetch origin
|
||||
|
||||
gto register ${REGISTER_MODEL_NAME}
|
||||
gto assign ${REGISTER_MODEL_NAME} --stage dev
|
||||
gto show
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue