Created
July 11, 2021 17:24
-
-
Save alsmola/287bcef073a572ef81cb4387531f1319 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CircleCI configuration to publish markdown files to Confluence | |
version: 2 | |
jobs: | |
build: | |
branches: | |
only: | |
- master | |
docker: | |
- image: circleci/golang:1.13.11 | |
steps: | |
- checkout | |
- run: | |
command: | | |
curl -LO https://github.com/justmiles/go-markdown2confluence/releases/download/v3.1.1/go-markdown2confluence_3.1.1_linux_x86_64.tar.gz | |
sudo tar -xzvf go-markdown2confluence_3.1.1_linux_x86_64.tar.gz markdown2confluence | |
./markdown2confluence --modified-since 30 --space "Space Name" --parent "Parent Page Name" -t "Page Title" markdown_file_name.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment