forked from 4C-multiphysics/4C
-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (66 loc) · 2.3 KB
/
Copy pathdeploy.yml
File metadata and controls
71 lines (66 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: deploy
on:
workflow_run:
workflows: [documentation, coverage, nightly_tests, performance_report]
types: [completed]
branches: [main]
permissions:
contents: read
# Do not run multiple deploy jobs in parallel
concurrency:
group: "pages-deploy"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-24.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository == '4C-multiphysics/4C'
}}
steps:
- uses: dawidd6/action-download-artifact@v21
with:
workflow: documentation.yml
name: doxygen
path: ${{ github.workspace }}/doxygen
branch: ${{ github.event.repository.default_branch }}
- uses: dawidd6/action-download-artifact@v21
with:
workflow: documentation.yml
name: documentation
path: ${{ github.workspace }}/documentation
branch: ${{ github.event.repository.default_branch }}
- uses: dawidd6/action-download-artifact@v21
with:
workflow: coverage.yml
name: 4C_coverage_report
path: ${{ github.workspace }}/coverage_report
branch: ${{ github.event.repository.default_branch }}
- uses: dawidd6/action-download-artifact@v21
with:
workflow: nightly_tests.yml
name: clang18_compile_time_report
path: ${{ github.workspace }}
branch: ${{ github.event.repository.default_branch }}
- uses: dawidd6/action-download-artifact@v21
with:
workflow: performance_report.yml
name: 4C_performance_test_report
path: ${{ github.workspace }}/performance_report
branch: ${{ github.event.repository.default_branch }}
- uses: dawidd6/action-download-artifact@v21
with:
workflow: performance_report.yml
name: 4C_benchmark_test_report
path: ${{ github.workspace }}/benchmark_test_report
branch: ${{ github.event.repository.default_branch }}
- uses: actions/upload-pages-artifact@v5
id: deployment
with:
path: ${{ github.workspace }}
retention-days: 1
- uses: actions/deploy-pages@v5