Adds curl to CI/CD

This commit is contained in:
Ali Amr Ali Taha Elnwegy 2025-05-28 06:54:52 +02:00
parent 9f7d6908c1
commit 2056cbce06

View File

@ -22,6 +22,7 @@ stages: # List of stages for jobs, and their order of execution
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
script: script:
- apk add --no-cache curl
- curl -L https://github.com/Kerwood/confluence-updater/releases/latest/download/confluence-updater-x86_64-unknown-linux-musl -o confluence-updater - curl -L https://github.com/Kerwood/confluence-updater/releases/latest/download/confluence-updater-x86_64-unknown-linux-musl -o confluence-updater
- chmod +x confluence-updater - chmod +x confluence-updater
- ./confluence-updater -u $CU_USER -s $CU_SECRET --fqdn imek.atlassian.net - ./confluence-updater -u $CU_USER -s $CU_SECRET --fqdn imek.atlassian.net