From 04d8e97fe71ed26fbca7338d9957b3526f90d679 Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Thu, 30 Jan 2025 10:54:36 +0100 Subject: [PATCH] Add 2024 build to the workflow. --- .github/workflows/build-website.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml index 864bcf2..c66fc83 100644 --- a/.github/workflows/build-website.yml +++ b/.github/workflows/build-website.yml @@ -11,7 +11,7 @@ on: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -29,15 +29,22 @@ jobs: run: | pelican -D -v --fatal errors -s publishconf.py -o output git fetch origin --tags + # git checkout 2022Q3Q4 sed -i 's|me41055|me41055/2022|' publishconf.py pelican -D -v --fatal errors -s publishconf.py -o output/2022 sed -i 's|blob/master|tree/2022Q3Q4|' output/2022/schedule.html git checkout -- publishconf.py + # git checkout 2023Q3Q4 sed -i 's|me41055|me41055/2023|' publishconf.py pelican -D -v --fatal errors -s publishconf.py -o output/2023 sed -i 's|blob/master|tree/2023Q3Q4|' output/2023/schedule.html + # + git checkout 2024Q3Q4 + sed -i 's|me41055|me41055/2024|' publishconf.py + pelican -D -v --fatal errors -s publishconf.py -o output/2024 + sed -i 's|blob/master|tree/2024Q3Q4|' output/2024/schedule.html ls output/ - name: Deploy the website if: ${{ github.event_name == 'push' }}