Installation documentation for Dovecot Pro 2.3.22.3-rev2 #1276
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release-2.3 | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| if: github.ref == 'refs/heads/main' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dovecot/dovecot-sphinx-action@0.11 | |
| - name: Prepare tarballs | |
| run: | | |
| tar --transform=s,build/dirhtml,html, -cJf build/docs.txz build/dirhtml | |
| for dir in build/mans/*; do | |
| tag=$(basename $dir) | |
| tar --transform=s,${dir},man, '--exclude=_*' '--exclude=.*' -cJf build/$tag.txz $dir | |
| done | |
| - uses: dovecot/rsync-deployments@master | |
| with: | |
| RSYNC_OPTIONS: -azr --delete | |
| RSYNC_TARGET: docs@doc.dovecot.org:public_html/3.0/. | |
| RSYNC_BASEDIR: /build/dirhtml/. | |
| if: env.DEPLOY_KEY | |
| env: | |
| DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} | |
| release23: | |
| runs-on: ubuntu-latest | |
| if: github.ref == 'refs/heads/release-2.3' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dovecot/dovecot-sphinx-action@0.11 | |
| - uses: dovecot/rsync-deployments@v2.0.2 | |
| with: | |
| FLAGS: -azr --delete | |
| HOST: doc.dovecot.org | |
| USER: docs | |
| LOCALPATH: /build/. | |
| REMOTEPATH: public_html/2.3/ | |
| DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} | |
| if: env.DEPLOY_KEY | |
| env: | |
| DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} |