Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed May 3, 2024
1 parent 8b916a3 commit f101752
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/CI_readme_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
tags:
- "**-v[0-9].[0-9]+.[0-9]+"
branches:
- sync-debug

workflow_dispatch: # Activate this workflow manually
inputs:
tag:
Expand All @@ -13,7 +16,8 @@ on:
default: integrations/<INTEGRATION_FOLDER_NAME>-v1.0.0

env:
TAG: ${{ inputs.tag || github.ref_name }}
# TAG: ${{ inputs.tag || github.ref_name }}
TAG: integrations/cohere-v1.0.0

jobs:
get-versions:
Expand All @@ -24,7 +28,7 @@ jobs:
- name: Get Haystack Docs versions
id: version_finder
run: |
curl https://dash.readme.com/api/v1/version --header 'authorization: Basic ${{ secrets.README_API_KEY }}' > out
curl -s https://dash.readme.com/api/v1/version --header 'authorization: Basic ${{ secrets.README_API_KEY }}' > out
VERSIONS=$(jq '[ .[] | select(.version | startswith("2."))| .version ]' out)
echo "versions=$VERSIONS" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit f101752

Please sign in to comment.