From 1a0cbe44a985f1ce8bd740e808bce4fc6a3d0dea Mon Sep 17 00:00:00 2001 From: Nick Walker Date: Fri, 5 Apr 2024 15:08:07 -0700 Subject: [PATCH] Add routes build to CI --- .github/workflows/github-pages.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 83a8b3f..a2a7392 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' cache: pip @@ -36,12 +36,15 @@ jobs: - name: Install calendar dependencies run: pip install -r requirements.txt + - name: Build routes + run: make _data/routes.yml + - name: Build calendar run: make rcc.ics - name: Set up Pages id: pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v4 - name: Set up Ruby uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 @@ -62,7 +65,7 @@ jobs: - name: Upload artifact # Automatically uploads an artifact from the './_site' directory by default - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 # Deployment job deploy: @@ -74,4 +77,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file