Skip to content

Commit

Permalink
Fix publish docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed Jan 18, 2024
1 parent 1bbac9c commit aa19397
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: "Publish Docs"

on:
push:
branches: [ "master" ]
workflow_run:
workflows: ["CI"]
branches: [master]
Expand All @@ -11,7 +13,7 @@ jobs:
publishing:
name: Publish Documentation
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:

- name: 📥 Checkout repository
Expand Down Expand Up @@ -39,7 +41,8 @@ jobs:
workflow: ci-nix.yaml
workflow_conclusion: success
branch: release
name: benchmarks
name: benchmarks.*
name_is_regexp: true
path: docs/benchmarks

- name: 📥 Download released test-results
Expand All @@ -49,7 +52,8 @@ jobs:
workflow: ci-nix.yaml
workflow_conclusion: success
branch: release
name: test-results
name: test-results.*
name_is_regexp: true
path: docs/benchmarks/tests

- name: 📥 Download released haddock documentation
Expand Down Expand Up @@ -102,7 +106,8 @@ jobs:
workflow: ci-nix.yaml
workflow_conclusion: success
branch: master
name: benchmarks
name: benchmarks.*
name_is_regexp: true
path: docs/benchmarks

- name: 📥 Download latest test-results
Expand All @@ -112,7 +117,8 @@ jobs:
workflow: ci-nix.yaml
workflow_conclusion: success
branch: master
name: test-results
name: test-results.*
name_is_regexp: true
path: docs/benchmarks/tests

- name: 📥 Download latest haddock documentation
Expand Down

0 comments on commit aa19397

Please sign in to comment.