Skip to content

Commit

Permalink
Inherit secrets for reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aurindam committed Sep 30, 2024
1 parent 6343996 commit 223c32a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
paths: 'releases/**'
workflow_dispatch:

jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -94,5 +94,6 @@ jobs:
scrape-docs:
uses: ./.github/workflows/docsearch-scrape.yml
needs: build-and-deploy
secrets: inherit
with:
version: ${{ needs.build-and-deploy.outputs.version }}
1 change: 1 addition & 0 deletions .github/workflows/deploy-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@ jobs:
scrape-docs:
uses: ./.github/workflows/docsearch-scrape.yml
needs: build-and-deploy
secrets: inherit
with:
version: master

0 comments on commit 223c32a

Please sign in to comment.