Skip to content

Commit

Permalink
fix(workflow): [skip ci] workflow dependency success condition
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoDelatte committed Dec 28, 2023
1 parent 912b086 commit c5a115e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: Deploy Documentation

on:
push:
branches: [main]
workflow_run:
workflows: ["Semantic Release"]
types:
- completed
branches:
- main

jobs:
deploy:
runs-on: ubuntu-22.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: write
concurrency: release
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
release:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
concurrency: release
permissions:
id-token: write
Expand Down

0 comments on commit c5a115e

Please sign in to comment.