diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 07c4525d090..76c1bd87c60 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -4,11 +4,13 @@ on: push: branches: - main - - chore-fix-prerelease jobs: success-all-test: uses: ./.github/workflows/ci.yml + secrets: + JINA_AUTH_TOKEN: "${{ secrets.JINA_AUTH_TOKEN }}" + prerelease: needs: [success-all-test] runs-on: ubuntu-latest diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d10a0417be8..a5f55139f06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,9 @@ on: inputs: config-path: type: string + secrets: + JINA_AUTH_TOKEN: + required: false pull_request: types: [opened, synchronize, reopened] @@ -104,7 +107,7 @@ jobs: poetry run pip install elasticsearch==8.6.2 sudo apt-get update sudo apt-get install --no-install-recommends ffmpeg - + - name: Test id: test run: |