Skip to content

Commit

Permalink
fix doc notification (#7219)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubox76 committed Apr 13, 2023
1 parent 6b8e0c1 commit a9f0cc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ jobs:
https://api.github.com/repos/firebase/firebase-js-sdk/dispatches
- name: Check for changes requiring a reference doc publish
id: docs-check
run: git diff --exit-code origin/master HEAD docs-devsite
run: |
LAST_PUBLISHED_VERSION=$(npm info firebase version)
git diff --exit-code firebase@$LAST_PUBLISHED_VERSION HEAD docs-devsite
- name: No diff, docs not needed
if: ${{ success() }}
run: echo "DOCS_NEEDED=false" >> $GITHUB_STATE
Expand Down

0 comments on commit a9f0cc8

Please sign in to comment.