Synch with main (#382) #12
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 a Pelican Website | |
on: | |
push: | |
# This prevents the workflow from running automatically on a new branch | |
# When creating a new site branch, please ensure that the push and checkout branches agree | |
# and that the action/pelican destination value is updated accordingly | |
branches: [ 'preview/ghabuild' ] | |
workflow_dispatch: | |
jobs: | |
build-pelican: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: 'preview/ghabuild' | |
- uses: apache/infrastructure-actions/pelican@main | |
with: | |
# Change this when changing ref or branches above! | |
destination: 'preview/ghabuild-staging' | |
gfm: 'true' |