{"id":20511184,"url":"https://github.com/lovoo/github-action-confluence-sync","last_synced_at":"2025-06-12T01:37:23.954Z","repository":{"id":55624600,"uuid":"321736492","full_name":"lovoo/Github-action-confluence-sync","owner":"lovoo","description":"Github action for syncing files with confluence pages.","archived":false,"fork":false,"pushed_at":"2020-12-17T10:42:17.000Z","size":8,"stargazers_count":10,"open_issues_count":1,"forks_count":5,"subscribers_count":28,"default_branch":"develop","last_synced_at":"2025-03-27T13:01:53.732Z","etag":null,"topics":["ci-cd","confluence","documentation","github-action","markdown"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lovoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-15T17:13:32.000Z","updated_at":"2022-12-14T22:56:54.000Z","dependencies_parsed_at":"2022-08-15T04:50:11.182Z","dependency_job_id":null,"html_url":"https://github.com/lovoo/Github-action-confluence-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovoo%2FGithub-action-confluence-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovoo%2FGithub-action-confluence-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovoo%2FGithub-action-confluence-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovoo%2FGithub-action-confluence-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovoo","download_url":"https://codeload.github.com/lovoo/Github-action-confluence-sync/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248794565,"owners_count":21162613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci-cd","confluence","documentation","github-action","markdown"],"created_at":"2024-11-15T20:34:56.042Z","updated_at":"2025-04-13T22:42:09.842Z","avatar_url":"https://github.com/lovoo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Confluence Markdown Sync Action\n\nThis Github Action serves the purpose of copying the contents of a Markdown `.md` file to a Confluence Cloud Page.\n\n## Getting Started\n\n```yml\n# .github/workflows/my-workflow.yml\non: [push]\n\njobs:\n  dev:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: confluence-markdown-sync\n        with:\n          from: './README.md'\n          to: '123456' # The confluence page id where to write the output\n          cloud: \u003cmy-confluence-cloud-id\u003e\n          user: \u003cmy.user@example.org\u003e\n          token: \u003cmy-token\u003e\n```\n\n## Authentication\n\nUses basic auth for the rest api.\n\n- `cloud`: The ID can be found by looking at yout confluence domain: `https://xxx.atlassian.net/...`\n- `user`: The user that generated the access token\n- `token`: You can generate the token [here](https://id.atlassian.com/manage-profile/security/api-tokens). Link to [Docs](https://confluence.atlassian.com/cloud/api-tokens-938839638.html)\n\n- `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://\u003ccloud-id\u003e.atlassian.net/wiki/spaces/\u003cspace\u003e/pages/\u003cpage-id\u003e/\u003ctitle\u003e`\n\n### Using secrets\n\nIt's **higly reccomended** that you use secrets!\n\nTo use them you need them to specify them before in your repo. [Docs](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets)\n\nThe you can use them in any input field.\n\n```yml\n# .github/workflows/my-workflow.yml\n# ...\ntoken: ${{ secrets.token }}\n```\n\n## Development\n\n1. Clone the repo\n2. Install [act](https://github.com/nektos/act)\n3. Create the same config in the repo folder as in the getting started section above.\n4. Change `uses: confluence-markdown-sync` -\u003e `uses: ./`\n5. Create an example markdown file `Some.md` and set it in the config `from: './Some.md'`\n6. Run locally `act -b`\n\n### With secrets\n\nYou can simply create a `.secrets` file and specify it to `act`\n\n```\ntoken=abc123\n```\n\n```yml\n# .github/workflows/dev.yml\n# ...\ntoken: ${{ secrets.token }}\n```\n\n```bash\nact -b --secret-file .secrets\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovoo%2Fgithub-action-confluence-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovoo%2Fgithub-action-confluence-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovoo%2Fgithub-action-confluence-sync/lists"}