Skip to content

Merge pull request #113 from janhoy/build-requirements #14

Merge pull request #113 from janhoy/build-requirements

Merge pull request #113 from janhoy/build-requirements #14

Workflow file for this run

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'