Skip to content

Commit

Permalink
do not attempt at uploading docs after every tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinejeannot committed Jan 8, 2024
1 parent 9dc64a0 commit 3e6170a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: docs
on:
workflow_run:
workflows: ["tests"]
types:
- completed
branches: [main]
types: [completed]

jobs:
docs:
name: Deploy docs
runs-on: ubuntu-latest
if: ${{github.ref == 'refs/heads/main'}}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand Down

0 comments on commit 3e6170a

Please sign in to comment.