Update .gitlab-ci.yml file
This commit is contained in:
parent
c59674639a
commit
b89a0fe294
@ -17,12 +17,17 @@
|
|||||||
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
||||||
|
|
||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
|
- prepare
|
||||||
- sync
|
- sync
|
||||||
|
|
||||||
|
image: python:3.10
|
||||||
|
|
||||||
|
prepare-job:
|
||||||
|
stage: prepare
|
||||||
|
script:
|
||||||
|
- pip install confluence.md
|
||||||
|
|
||||||
sync-docs-job: # This job runs in the build stage, which runs first.
|
sync-docs-job: # This job runs in the build stage, which runs first.
|
||||||
stage: sync
|
stage: sync
|
||||||
image: curlimages/curl:latest
|
|
||||||
script:
|
script:
|
||||||
- curl -L https://github.com/Kerwood/confluence-updater/releases/latest/download/confluence-updater-x86_64-unknown-linux-musl -o confluence-updater
|
- confluence.md --user $CU_USER --token $CU_SECRET --url https://imek.atlassian.net update --file README.md --title $(head -n1 README.md | cut -d' ' -f2-)
|
||||||
- chmod +x confluence-updater
|
|
||||||
- ./confluence-updater --fqdn https://imek.atlassian.net
|
|
||||||
|
Loading…
Reference in New Issue
Block a user