Skip to content

Commit 62df87e

Browse files
committed
test: Sync releases
1 parent 3a61d8e commit 62df87e

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.github/workflows/test-e2e.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,19 @@ jobs:
3333
files-pattern: 'README.md'
3434
confluence-url: ${{ vars.CONFLUENCE_URL }}
3535
confluence-root-page-id: ${{ vars.CONFLUENCE_ROOT_PAGE_ID }}
36+
confluence-root-page-name: "Cross"
37+
confluence-space-key: ${{ vars.CONFLUENCE_SPACE_KEY }}
38+
confluence-personal-access-token: ${{ secrets.CONFLUENCE_PAT }}
39+
40+
- name: Sync Changelog
41+
id: sync-changelog
42+
uses: ./
43+
with:
44+
mode: flat
45+
docs-dir: '.'
46+
files-pattern: 'CHANGELOG.md'
47+
confluence-url: ${{ vars.CONFLUENCE_URL }}
48+
confluence-root-page-id: ${{ vars.CONFLUENCE_ROOT_PAGE_ID }}
49+
confluence-root-page-name: "Cross"
3650
confluence-space-key: ${{ vars.CONFLUENCE_SPACE_KEY }}
3751
confluence-personal-access-token: ${{ secrets.CONFLUENCE_PAT }}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
sync_to_confluence: true
3+
title: "[Markdown Confluence Sync] Releases"
4+
---
5+
16
# Changelog
27

38
All notable changes to this project will be documented in this file.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "[Cross] Markdown Confluence Sync"
32
sync_to_confluence: true
3+
title: "[Cross] Markdown Confluence Sync"
44
confluence_page_id: "333418648"
55
---
66

0 commit comments

Comments
 (0)