Skip to content

Commit

Permalink
updates vars and secrets in ci (#277)
Browse files Browse the repository at this point in the history
* updates vars and secrets in ci

* bump dvc version in requirements for tokens (#276)

---------

Co-authored-by: Tibor Mach <[email protected]>
  • Loading branch information
Dave Berenbaum and tibor-mach authored Nov 17, 2023
1 parent c1b31d0 commit cb6b10a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
deploy-model:
needs: parse
if: "${{ needs.parse.outputs.event == 'assignment' }}"
environment: cloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Train
env:
REPO_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
STUDIO_TOKEN: ${{ secrets.STUDIO_TOKEN }}
DVC_STUDIO_TOKEN: ${{ secrets.DVC_STUDIO_TOKEN }}
DVCLIVE_LOGLEVEL: DEBUG
run: |
cml ci --fetch-depth 0
Expand All @@ -119,7 +119,7 @@ jobs:
- name: Workflow Dispatch Sharing
if: github.event_name == 'workflow_dispatch'
env:
STUDIO_TOKEN: ${{ secrets.STUDIO_TOKEN }}
DVC_STUDIO_TOKEN: ${{ secrets.DVC_STUDIO_TOKEN }}
run: |
dvc exp push origin -r push_remote
Expand Down
2 changes: 1 addition & 1 deletion example-get-started-experiments/code/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dvc[s3]>=3.22.1
dvc[s3]>=3.29.0
dvclive>=3.0.1
fastai
python-box
Expand Down

0 comments on commit cb6b10a

Please sign in to comment.