add credentials

This commit is contained in:
Michael Duong 2023-09-12 22:54:28 +01:00
parent 5bedb72a5a
commit d25c4409eb

View file

@ -61,6 +61,9 @@ jobs:
pip install -r modules/ml-pipeline/src/pipeline/src/requirements/version_control/requirements.txt
- name: Register Model
env:
AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }}
run: |
# REGISTER_MODEL_NAME=$(echo ${{ github.event.pull_request.head.ref }} | awk -F"-" '{print $1}')
@ -69,6 +72,8 @@ jobs:
git config user.name "Github-Bot"
git config user.email "Github-Bot@no-reply.com"
gto register ${REGISTER_MODEL_NAME}
git branch -r
# gto register test --repo https://github.com/Hestia-Homes/ML/