-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
34 lines (34 loc) · 1.68 KB
/
action.yml
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
name: 'markdown-confluence'
description: 'Publish Markdown files to Confluence'
branding:
icon: 'file-text'
color: 'green'
inputs:
confluenceBaseUrl:
description: 'The base URL of your Confluence instance, used for API calls and publishing content.'
confluenceParentId:
description: 'The ID of the parent page in Confluence where the Markdown files will be published as child pages.'
atlassianUserName:
description: 'Your Atlassian account''s username, required for authentication when interacting with Confluence.'
atlassianApiToken:
description: 'An API token generated for your Atlassian account, used for authentication when making API calls to Confluence.'
folderToPublish:
description: 'The folder you want to apply a default of "connie-publish: true" to.'
contentRoot:
description: 'The root path for published content on Confluence. This is used to tell the action where to look for Markdown files and content.'
configFile:
description: 'A configuration file containing additional settings and customizations for the publishing process.'
firstHeadingPageTitle:
description: 'true/false, whether first heading should be used as page title.'
runs:
using: 'docker'
image: 'Dockerfile'
env:
CONFLUENCE_BASE_URL: ${{ inputs.confluenceBaseUrl }}
CONFLUENCE_PARENT_ID: ${{ inputs.confluenceParentId }}
ATLASSIAN_USERNAME: ${{ inputs.atlassianUserName }}
ATLASSIAN_API_TOKEN: ${{ inputs.atlassianApiToken }}
FOLDER_TO_PUBLISH: ${{ inputs.folderToPublish }}
CONFLUENCE_CONTENT_ROOT: ${{ inputs.contentRoot }}
CONFLUENCE_CONFIG_FILE: ${{ inputs.configFile }}
CONFLUENCE_FIRST_HEADING_PAGE_TITLE: ${{ inputs.firstHeadingPageTitle }}