We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8639257 commit dc2f698Copy full SHA for dc2f698
1 file changed
.github/workflows/ci.yaml
@@ -19,19 +19,17 @@ jobs:
19
pip install --upgrade pip
20
pip install dvc-gs
21
pip install "dvc[gcs]"
22
+
23
- name: Write service account key
24
env:
25
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
26
run: |
27
echo "$GCP_SA_KEY" > "$RUNNER_TEMP/key.json"
28
echo "GOOGLE_APPLICATION_CREDENTIALS=$RUNNER_TEMP/key.json" >> $GITHUB_ENV
-
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
+ - name: Force DVC remote URL in CI
+ if: ${{ secrets.GCS_DVC_URL != '' }}
+ run: dvc remote modify --local gcsremote url "${{ secrets.GCS_DVC_URL }}"
36
- name: Check DVC status
37
- run: dvc status -c
+ run: dvc status -r gcsremote -c
0 commit comments