Skip to content

Commit 8a8f941

Browse files
committed
github actions for pelican
1 parent 54fe841 commit 8a8f941

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build a Pelican Website
2+
on:
3+
push:
4+
# This prevents the workflow from running automatically on a new branch
5+
# When creating a new site branch, please ensure that the push and checkout branches agree
6+
# and that the action/pelican destination value is updated accordingly
7+
branches: [ "main" ]
8+
workflow_dispatch:
9+
jobs:
10+
build-pelican:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
# This must equal the push/branches list above, and be appropriate for the destination below
16+
ref: 'main'
17+
- uses: apache/infrastructure-actions/pelican@main
18+
with:
19+
# This must be appropriate for the branch being built
20+
destination: 'asf-site'
21+
gfm: 'true'

0 commit comments

Comments
 (0)