mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
37 lines
874 B
YAML
37 lines
874 B
YAML
name: Register the model for the given pipeline branch
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "model-**"
|
|
|
|
# on:
|
|
# pull_request:
|
|
# types:
|
|
# - closed
|
|
# branches:
|
|
# - "master"
|
|
|
|
permissions: write-all
|
|
|
|
jobs:
|
|
if_merged:
|
|
# if: github.event.pull_request.merged == true
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# - uses: actions/checkout@v3
|
|
# - name: Install packages to register model
|
|
# env:
|
|
# AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }}
|
|
# AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }}
|
|
# run: |
|
|
# pip install --upgrade pip
|
|
# pip install -r modules/ml-pipeline/src/pipeline/src/requirements/version_control/requirements.txt
|
|
|
|
# - name: Register Model
|
|
# run: |
|
|
|
|
# dvc pull -r experiments
|
|
- name: echo branch
|
|
run: |
|
|
echo ${{github.ref_name}}
|