123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- when:
- - event: manual
- branch: main
- - event: push
- branch: main
- path: '.woodpecker/bird.yaml'
- steps:
- - name: bird
- environment:
- PROJECT_NAME: bird
- PROJECT_PRETTY_NAME: bird
- PROJECT_VERSION: 2.15.1
- FEED_REVISION: 3
- image: codeberg.org/mark22k/ci:latest
- pull: true
- commands:
- - GIT_BRANCH="v$PROJECT_VERSION"
- - GIT_URL="https://gitlab.nic.cz/labs/bird.git"
- - . ./scripts/environment.sh
- - . ./scripts/install_dashing.sh
- - . ./scripts/download_from_git.sh
- - . ./scripts/prepare_docs_directory.sh
- - cd "$BASE_DIRECTORY/bird"
- - autoreconf
- - ./configure
- - make docs
- - cp ./obj/doc/*.html "$DOCS_DIRECTORY"
- - |
- cat << EOF > "$DOCS_DIRECTORY/dashing.json"
- {
- "name": "bird",
- "package": "bird",
- "index": "bird.html",
- "selectors": {
- "dt code": "Option",
- "h2": "Section",
- "title": "Guide"
- },
- "allowJS": false
- }
- EOF
- - cd "$FEED_DIRECTORY"
- - . ./scripts/build_dashing.sh
- - . ./scripts/create_docs_tarball.sh
- - . ./scripts/create_feed.sh
- - . ./scripts/publish.sh
- secrets:
- - codeberg_git_username
- - codeberg_git_password
|