Skip to content

Commit

Permalink
ci: fix up and allow manual running of workflow (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens authored Feb 22, 2023
1 parent bc6f32a commit b2f1c61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Release Docs

on:
workflow_dispatch:
workflow_run:
workflows:
- Release
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:
run: cp ./docs/generated/v$PACKAGE_VERSION/coverage.svg ./docs/coverage.svg

- run: COVERAGE_CHANGED=$(git status --porcelain -u | grep -c docs/coverage.svg)
- if: $COVERAGE_CHANGED != "0"
- if: ${{ "$COVERAGE_CHANGED" != "0" }}
run: >
git add docs/coverage.svg
git diff --name-only --cached --diff-filter=AM
Expand Down

0 comments on commit b2f1c61

Please sign in to comment.