mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
chore(ci): wait on all aws builds before publishing documentation
This commit is contained in:
10
.github/workflows/publish_doc.yml
vendored
10
.github/workflows/publish_doc.yml
vendored
@@ -2,16 +2,22 @@ name: Publish documentation
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [AwsEc2BuildCpu]
|
||||
workflows: [AwsEc2BuildCpu, AwsEc2BuildGpu]
|
||||
branches:
|
||||
- main
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
WaitOnAllWorkflows:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ahmadnassri/action-workflow-run-wait@v1
|
||||
|
||||
PublishDoc:
|
||||
runs-on: ubuntu-20.04
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
needs: WaitOnAllWorkflows
|
||||
steps:
|
||||
- name: Download Documentation
|
||||
id: download
|
||||
|
||||
Reference in New Issue
Block a user