File: cd.yml

package info (click to toggle)
ecflow 5.15.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,868 kB
  • sloc: cpp: 269,341; python: 22,756; sh: 3,609; perl: 770; xml: 333; f90: 204; ansic: 141; makefile: 70
file content (31 lines) | stat: -rw-r--r-- 773 bytes parent folder | download
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
name: cd

on:
  # Trigger the workflow manually
  workflow_dispatch: ~

  push:
    # Trigger the workflow when new tags are pushed
    tags:
      - '**'
    # Trigger the workflow when the CD workflow/configuration is updated
    paths:
      - .github/cd-*.yml
      - .github/workflows/cd.yml

jobs:
  deploy-server:
    uses: ecmwf/reusable-workflows/.github/workflows/create-package.yml@v2
    with:
      skip_checks: true
      restrict_matrix_jobs: gnu@debian-12
      build_config: .github/cd-server-config.yml
    secrets: inherit

  deploy-ui:
    uses: ecmwf/reusable-workflows/.github/workflows/create-package.yml@v2
    with:
      skip_checks: true
      restrict_matrix_jobs: gnu@rocky-8.6
      build_config: .github/cd-ui-config.yml
    secrets: inherit