Extend MCP Docker example with Lucene search and extension status UI. #2052
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
| # This is a basic workflow to help you get started with Actions | |
| name: Lucee Docs Builder | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| # This workflow contains a single job called "build" | |
| build: | |
| if: github.repository == 'lucee/lucee-docs' | |
| # The type of runner that the job will run on | |
| runs-on: ubuntu-latest | |
| # Steps represent a sequence of tasks that will be executed as part of the job | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: '21' | |
| - name: Cache Maven packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2 | |
| key: lucee-script-runner-m2-cache | |
| - name: Cache Lucee files | |
| uses: actions/cache@v4 | |
| with: | |
| path: _actions/lucee/script-runner/main/lucee-download-cache | |
| key: lucee-downloads-${{ env.luceeVersion }} | |
| restore-keys: | | |
| lucee-downloads | |
| # Runs a single command using the runners shell | |
| - name: Build Lucee Docs | |
| uses: lucee/script-runner@main | |
| with: | |
| webroot: ${{ github.workspace }} | |
| execute: /build-all.cfm | |
| luceeVersion: 7.1.0.118-SNAPSHOT | |
| extensions: >- | |
| org.lucee:redis-extension, | |
| org.lucee:chart-extension, | |
| org.lucee:s3-extension, | |
| org.lucee:lucene-search-extension, | |
| org.lucee:form-extension, | |
| org.lucee:ajax-extension, | |
| org.lucee:axis-extension, | |
| org.lucee:argon2-extension, | |
| org.lucee:ec2-extension, | |
| org.lucee:json-extension, | |
| org.lucee:websocket-extension, | |
| org.lucee:websocket-client-extension, | |
| org.lucee:debugger-extension, | |
| org.lucee:crypto-extension, | |
| org.lucee:jsonata-extension, | |
| org.lucee:hibernate-extension:5.6.15.12-SNAPSHOT | |
| - name: Copy skill file to build artifacts | |
| run: cp docs/recipes/lucee.skill builds/artifacts/lucee.skill | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: lucee-docs | |
| path: builds/artifacts/lucee-docs.zip | |
| - name: Publish to S3 | |
| if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master'}} | |
| uses: docker://justinharringa/s3_website:master | |
| with: | |
| args: 'push --site builds/artifacts' | |
| env: | |
| AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| S3_BUCKET: ${{ secrets.S3_BUCKET }} | |
| AWS_CLOUDFRONT_DISTRIBUTION: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION }} | |
| # - name: Notify slack | |
| # uses: 8398a7/action-slack@v4.9.1 | |
| # with: | |
| # status: ${{ job.status }} | |
| # author_name: GitHub Actions # default: 8398a7@action-slack | |
| # fields: repo,commit,message,author # default: repo,commit | |
| # mention: here | |
| # if_mention: failure,cancelled | |
| # env: | |
| # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required | |
| # if: always() # Pick up events even if the job fails or is canceled. |