Merge pull request #503 from AKSW/develop #277
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build Jekyll Page and publish it to GitHub Pages | |
name: Build Jekyll Page | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: arduino/setup-task@v2 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check out Site Repository 📄 | |
uses: actions/checkout@v4 | |
- name: Check out iCal Repository 📅 | |
uses: actions/checkout@v4 | |
with: | |
repository: 'AKSW/ical.dataweek.de' | |
ref: 'page-live' | |
path: '.ical' | |
- name: Run CI Tasks ⚙️ | |
env: | |
FLAVOUR: live | |
run: task build | |
- name: Deploy 🚀 | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./_site | |
publish_branch: page-live # default: gh-pages |