Skip to content

Commit 65d0db1

Browse files
committed
ci(workflows): FTRS-1522 Update Confluence publish workflow
1 parent 8a19c87 commit 65d0db1

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/publish-nfrs-to-confluence.yaml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@ on: [push]
33
jobs:
44
publish-nfrs-to-confluence:
55
runs-on: ubuntu-latest
6+
name: Sync Docs as Code - Confluence
67
steps:
7-
- uses: actions/checkout@v4
8-
9-
- uses: axro-gmbh/markdown-to-confluence-sync@1.4
8+
- name: Checkout
9+
uses: actions/checkout@v4
10+
with:
11+
sparse-checkout: docs
12+
- name: Sync Docs as Code - Confluence
13+
uses: Bhacaz/docs-as-code-confluence@udpate_node
1014
with:
11-
input_directory: docs/nfrs
12-
# exclude_files: this.md,that.md
13-
cloud: nhsd-confluence.digital.nhs.uk
14-
space_key: FRS
15-
parent_page_id: 1222133740
16-
user: ${{ secrets.ATLASSIAN_USERNAME }}
17-
token: ${{ secrets.ATLASSIAN_API_TOKEN }}
15+
folder: docs/nfrs
16+
username: ${{ secrets.ATLASSIAN_USERNAME }}
17+
password: ${{ secrets.ATLASSIAN_API_TOKEN }}
18+
confluence-base-url: ${{ secrets.CONFLUENCE_BASE_URL }}
19+
space-key: FRS
20+
parent-page-id: 1222133740

0 commit comments

Comments
 (0)