Skip to content

Commit 5435d89

Browse files
authored
Merge pull request #11 from Telefonica/release
docs: Sync to Confluence (#10)
2 parents a0b9d0e + 1e641b3 commit 5435d89

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# SPDX-FileCopyrightText: 2025 Telefónica Innovación Digital and contributors
2+
# SPDX-License-Identifier: MIT
3+
4+
name: Sync Docs to Confluence
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
sync-docs-to-confluence:
16+
environment: production
17+
name: Sync Docs to Confluence
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout
22+
id: checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Sync Docs
26+
id: sync-docs
27+
uses: Telefonica/markdown-confluence-sync-action@v1
28+
with:
29+
mode: id
30+
docs-dir: '.'
31+
files-pattern: '*.md'
32+
files-metadata: |
33+
[
34+
{
35+
"path": "README.md",
36+
"id": "${{ vars.CONFLUENCE_README_PAGE_ID }}",
37+
"title": "[Cross] Check SPDX Headers"
38+
},
39+
{
40+
"path": "CHANGELOG.md",
41+
"id": "${{ vars.CONFLUENCE_CHANGELOG_PAGE_ID }}",
42+
"title": "[Cross] [Check SPDX Headers] Releases"
43+
}
44+
]
45+
confluence-url: ${{ vars.CONFLUENCE_URL }}
46+
confluence-space-key: ${{ vars.CONFLUENCE_SPACE_KEY }}
47+
confluence-personal-access-token: ${{ secrets.CONFLUENCE_PAT }}

0 commit comments

Comments
 (0)