Skip to content

Commit

Permalink
fix job dependencies for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed May 23, 2024
1 parent e10fc37 commit 2f126ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ jobs:

deploy-docs:
if: github.event_name == 'push' && github.ref == 'refs/heads/staging'
needs:
- docs
environment:
name: github-pages
url: ${{ steps.github-pages.outputs.page_url }}
Expand All @@ -144,7 +146,7 @@ jobs:
needs:
- build-test
- docs
- license
- deploy-docs
steps:
- name: Mark the build as successful
run: exit 0

0 comments on commit 2f126ef

Please sign in to comment.