This is an automated email from the ASF dual-hosted git repository. dfoulks pushed a commit to branch dfoulks/pelican-gha in repository https://gitbox.apache.org/repos/asf/petri.git
The following commit(s) were added to refs/heads/dfoulks/pelican-gha by this push: new 66a83a1 testing migration steps 66a83a1 is described below commit 66a83a14e1ebed2db3f53626800a1019a97b1683 Author: Drew <dfou...@apache.org> AuthorDate: Thu May 30 09:17:45 2024 -0400 testing migration steps --- .github/workflows/build-pelican.yml | 27 +++++++++++++-------------- pelicanconf.py | 4 +++- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-pelican.yml b/.github/workflows/build-pelican.yml index 9f7b198..60df25c 100644 --- a/.github/workflows/build-pelican.yml +++ b/.github/workflows/build-pelican.yml @@ -1,17 +1,16 @@ name: Build a Pelican Website on: - push: - branches: [ "dfoulks/pelican-gha" ] - workflow_dispatch: + push: + branches: [ 'master' ] + workflow_dispatch: jobs: - build-pelican: - runs-on: ubuntu-latest - continue-on-error: true - steps: - - uses: actions/checkout@v4 - with: - ref: 'dfoulks/pelican-gha' - - uses: apache/infrastructure-actions/pelican@main - with: - destination: 'dfoulks/gha-site' - gfm: 'true' + build-pelican: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: 'master' + - uses: apache/infrastructure-actions/pelican@main + with: + destination: 'asf-site' + gfm: 'true' diff --git a/pelicanconf.py b/pelicanconf.py index 567b244..7bb1b6a 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -1,4 +1,5 @@ +import datetime # Basic information about the site. SITENAME = 'Apache Petri' SITEDESC = 'Assists external project communities interested in becoming an Apache project learn how The ASF works and its views on how to build a healthy community' @@ -6,13 +7,14 @@ SITEDOMAIN = 'petri.apache.org' SITEURL = 'https://petri.apache.org' SITELOGO = 'https://petri.apache.org/images/logo.png' SITEREPOSITORY = 'https://github.com/apache/petri/blob/master/content/' -CURRENTYEAR = 2024 +CURRENTYEAR = datetime.date.today().year TRADEMARKS = 'Apache, the Apache feather logo, and Petri are trademarks or registered trademarks' TIMEZONE = 'UTC' # Theme includes templates and possibly static files THEME = 'theme/apache' # Specify location of plugins, and which to use PLUGIN_PATHS = [ 'theme/plugins', ] +# If the website uses any *.ezmd files, include the 'asfreader' plugin PLUGINS = [ 'toc2', 'gfm', ] # All content is located at '.' (aka content/ ) PAGE_PATHS = [ '.' ]