1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- when:
- - event: manual
- branch: main
- - event: push
- branch: main
- path: '.woodpecker/stunnel.yaml'
- steps:
- - name: stunnel
- environment:
- PROJECT_NAME: stunnel
- PROJECT_PRETTY_NAME: stunnel
- PROJECT_VERSION: 5.73
- FEED_REVISION: 1
- image: codeberg.org/mark22k/ci:latest
- pull: true
- commands:
- - TARBALL_URL="https://www.stunnel.org/downloads/stunnel-$PROJECT_VERSION.tar.gz"
- - . ./scripts/environment.sh
- - . ./scripts/install_dashing.sh
- - . ./scripts/download_tarball.sh
- - . ./scripts/prepare_docs_directory.sh
- - cd "$BASE_DIRECTORY/stunnel-$PROJECT_VERSION"
- - ./configure
- - cd doc
- - make
- - cp "stunnel.html" "$BASE_DIRECTORY/docs/"
- - cp "stunnel.pl.html" "$BASE_DIRECTORY/docs/"
- - |
- cat <<EOF > "$DOCS_DIRECTORY/dashing.json"
- {
- "name": "stunnel",
- "package": "stunnel",
- "index": "stunnel.html",
- "selectors": {
- "title": "Package",
- "dl dt b": "Option"
- },
- "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
|