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
c871c0d610
commit
d83e973787
1 changed files with 6 additions and 2 deletions
8
.github/workflows/MLPipelinePostMerge.yml
vendored
8
.github/workflows/MLPipelinePostMerge.yml
vendored
|
|
@ -16,7 +16,7 @@ permissions: write-all
|
|||
|
||||
jobs:
|
||||
Register-New-Model:
|
||||
if: github.event.pull_request.merged == true
|
||||
# if: github.event.pull_request.merged == true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
@ -32,8 +32,12 @@ jobs:
|
|||
pip install -r modules/ml-pipeline/src/pipeline/src/requirements/version_control/requirements.txt
|
||||
|
||||
- name: Register Model
|
||||
env:
|
||||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
REGISTER_MODEL_NAME=$(echo ${{github.ref_name}} | awk -F"-" '{print $1}')
|
||||
|
||||
REGISTER_MODEL_NAME=$(echo ${{ github.event.pull_request.head.ref }} | awk -F"-" '{print $1}')
|
||||
# REGISTER_MODEL_NAME=$(echo ${{github.ref_name}} | awk -F"-" '{print $1}')
|
||||
git config user.name "Github-Bot"
|
||||
git config user.email "Github-Bot"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue