Skip to content

Commit dc2f698

Browse files
committed
fixing CI
1 parent 8639257 commit dc2f698

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,17 @@ jobs:
1919
pip install --upgrade pip
2020
pip install dvc-gs
2121
pip install "dvc[gcs]"
22+
2223
- name: Write service account key
2324
env:
2425
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
2526
run: |
2627
echo "$GCP_SA_KEY" > "$RUNNER_TEMP/key.json"
2728
echo "GOOGLE_APPLICATION_CREDENTIALS=$RUNNER_TEMP/key.json" >> $GITHUB_ENV
28-
29-
# - name: Run DVC Pipeline
30-
# env:
31-
# DAGSHUB_TOKEN: ${{ secrets.DAGSHUB_TOKEN }}
32-
# run: |
33-
# dvc repro
34-
- name: Check DVC remote
35-
run: dvc remote list
29+
30+
- name: Force DVC remote URL in CI
31+
if: ${{ secrets.GCS_DVC_URL != '' }}
32+
run: dvc remote modify --local gcsremote url "${{ secrets.GCS_DVC_URL }}"
33+
3634
- name: Check DVC status
37-
run: dvc status -c
35+
run: dvc status -r gcsremote -c

0 commit comments

Comments
 (0)