Skip to content

Blog post - Community Over Code NA 2024 (#126) #7

Blog post - Community Over Code NA 2024 (#126)

Blog post - Community Over Code NA 2024 (#126) #7

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'