Action confluence sync that can be used to publish markdown documents to confluence. This action is a thin wrapper around the mark See the action.yaml file for details of required inputs.
This is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration:
To use this action, make a file .github/workflows/confluence.yml
. Here's a template to get started:
name: confluence-sync
on:
pull_request:
push:
branches: [main]
jobs:
confluence:
runs-on: ubuntu-20.04
steps:
- name: Check out a copy of the repo
if: ${{ !env.ACT }}
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
*.md
files_ignore: |
*.tpl.md
- name: Sync confluence
uses: hadenlabs/[email protected]
with:
confluence_base_url: '${{ secrets.CONFLUENCE_BASE_URL }}'
confluence_user: '${{ secrets.CONFLUENCE_USER }}'
confluence_token: '${{ secrets.CONFLUENCE_ACCESS_TOKEN }}'
files: '${{ steps.changed-files.outputs.all_changed_files }}'
parameter | description | required | default |
---|---|---|---|
confluence_url | base url of confluence | true |
|
confluence_username | confluence username | true |
|
confluence_token | token of user | true |
|
files | files to sync | true |
This action is an composite
action.
Got a question?
File a GitHub issue.
See Contributing.
This Module follows the principles of Semantic Versioning (SemVer).
Using the given version number of MAJOR.MINOR.PATCH
, we apply the following constructs:
- Use the
MAJOR
version for incompatible changes. - Use the
MINOR
version when adding functionality in a backwards compatible manner. - Use the
PATCH
version when introducing backwards compatible bug fixes.
- In the context of initial development, backwards compatibility in versions
0.0.z
is not guaranteed whenz
is increased. (Initial development) - In the context of pre-release, backwards compatibility in versions
0.y.z
is not guaranteed wheny
is increased. (Pre-release)
Copyright Β© 2018-2022 Hadenlabs
All other trademarks referenced herein are the property of their respective owners.
The code and styles are licensed under the LGPL-3.0 license See project license..