1234567891011121314151617181920212223242526272829303132333435363738 |
- when:
- - event: manual
- branch: main
- - event: push
- branch: main
- path: '.woodpecker/spotbugs.yaml'
- steps:
- - name: spotbugs
- environment:
- PROJECT_NAME: spotbugs
- PROJECT_PRETTY_NAME: spotbugs
- PROJECT_VERSION: 4.8.6
- FEED_REVISION: 1
- CODEBERG_GIT_USERNAME:
- from_secret: codeberg_git_username
- CODEBERG_GIT_PASSWORD:
- from_secret: codeberg_git_password
- image: codeberg.org/mark22k/ci:latest
- pull: true
- commands:
- - GIT_BRANCH="$PROJECT_VERSION"
- - GIT_URL="https://github.com/spotbugs/spotbugs.git"
- - . ./scripts/environment.sh
- - . ./scripts/install_sphinx.sh
- - . ./scripts/install_doc2dash.sh
- - pipx inject sphinx sphinx-rtd-theme
- # Build spotbugs docs
- - . ./scripts/download_from_git.sh
- - cd "$BASE_DIRECTORY/spotbugs/docs"
- - make html
- - doc2dash .build/html
- - tar czf "$BASE_DIRECTORY/spotbugs.docset.tgz" spotbugs.docset
- - cd "$FEED_DIRECTORY"
- - . ./scripts/create_feed.sh
- - . ./scripts/publish.sh
|