Your markdown content
Check metadata info on RAW version
Your markdown content
Check metadata info on RAW version
name: Sync Documentation | |
on: | |
push: | |
branches: | |
- main | |
env: | |
CONFLUENCE_BASE_URL: "https://yourteam.atlassian.net/wiki" | |
CONFLUENCE_USER: [email protected] | |
CONFLUENCE_API_TOKEN: ${{ secrets.CONFLUENCE_API_TOKEN }} | |
jobs: | |
sync-confluence-docs: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: docs | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: satackey/[email protected] | |
continue-on-error: true | |
- name: Sync Markdown | |
run: docker run --rm --volume "$(pwd):/docs" kovetskiy/mark:latest mark -u ${{ env.CONFLUENCE_USER }} -p ${{ env.CONFLUENCE_API_TOKEN }} -b ${{ env.CONFLUENCE_BASE_URL }} -k -f "**/*.md" |
The only requirement is to put metadata in your Markdown files
Check the lib documentation for more possibilities: https://github.com/kovetskiy/mark