File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments