Skip to content

Commit

Permalink
Add 2024 build to the workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
moorepants committed Jan 30, 2025
1 parent 199543c commit 04d8e97
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build:

runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -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' }}
Expand Down

0 comments on commit 04d8e97

Please sign in to comment.