Skip to content

Commit

Permalink
Add routes build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nickswalker committed Apr 5, 2024
1 parent bb1bf96 commit 1a0cbe4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,23 @@ 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

- 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
Expand All @@ -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:
Expand All @@ -74,4 +77,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit 1a0cbe4

Please sign in to comment.