SOLR-17342 Avoid loading resources from remote CDN (#136) #52
This file contains 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: Build Solr website with ASF Pelican action | |
on: | |
push: | |
branches: [ "main", "production" ] | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
- 'build.sh' | |
- '.editorconfig' | |
- '.gitignore' | |
- '.gitattributes' | |
workflow_dispatch: | |
jobs: | |
build-pelican: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref == 'refs/heads/production' && 'production' || 'main' }} | |
- name: Build Pelican Site | |
uses: apache/infrastructure-actions/pelican@main | |
with: | |
destination: ${{ github.ref == 'refs/heads/production' && 'asf-site' || 'asf-staging' }} | |
gfm: 'false' | |
version: '4.9.1' | |
requirements: 'requirements.txt' |