forked from omec-project/sdcore-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 857 Bytes
/
push.yml
File metadata and controls
35 lines (29 loc) · 857 Bytes
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
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 Intel Corporation
name: Publish Docs Workflow
on:
push:
branches:
- main
workflow_dispatch:
jobs:
validate:
uses: omec-project/.github/.github/workflows/validate.yml@main
with:
branch_name: ${{ github.ref }}
tag-github:
uses: omec-project/.github/.github/workflows/tag-github.yml@main
secrets: inherit
update-version:
needs: tag-github
uses: omec-project/.github/.github/workflows/update-version.yml@main
with:
changed: ${{ needs.tag-github.outputs.changed }}
version: ${{ needs.tag-github.outputs.version }}
secrets: inherit
publish:
if: github.repository_owner == 'omec-project'
uses: omec-project/.github/.github/workflows/publish-docs.yml@main
secrets: inherit
with:
branch_name: ${{ github.ref }}