Go to file
Nicco 9e9e1d86b3
Create LICENSE
2020-12-13 16:34:22 +01:00
src initial 2020-12-13 16:14:13 +01:00
.gitignore dev 2020-12-13 16:15:28 +01:00
Dockerfile initial 2020-12-13 16:14:13 +01:00
LICENSE Create LICENSE 2020-12-13 16:34:22 +01:00
Pipfile initial 2020-12-13 16:14:13 +01:00
Pipfile.lock initial 2020-12-13 16:14:13 +01:00
README.md Update README.md 2020-12-13 16:24:52 +01:00
action.yml branding 2020-12-13 16:33:14 +01:00
entrypoint test 2020-12-13 12:14:35 +01:00

README.md

Confluence Markdown Sync Action

This Github Action serves the purpose of copying the contents of a Markdown .md file to a Confluence Cloud Page.

Getting Started

# .github/workflows/my-workflow.yml
on: [push]

jobs:
  dev:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - uses: confluence-markdown-sync
      with:
        from: './README.md'
        to: '123456' # The confluence page id where to write the output
        cloud: <my-confluence-cloud-id>
        user: <my.user@example.org>
        token: <my-token>

Authentication

Uses basic auth for the rest api.

  • cloud: The ID can be found by looking at yout confluence domain: https://xxx.atlassian.net/...

  • user: The user that generated the access token

  • token: You can generate the token here. Link to Docs

  • to: The page ID can be found by simply navigating to the page where you want the content to be postet to and looke at the url. It will look something like this: https://<cloud-id>.atlassian.net/wiki/spaces/<space>/pages/<page-id>/<title>