-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf78c71
commit 6ebbb85
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Build Jekyll Page and publish it to GitHub Pages | ||
name: Build Jekyll Page (2024) | ||
|
||
on: | ||
push: | ||
branches: [ past/2024 ] | ||
|
||
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 ⚙️ | ||
run: task build | ||
- name: Deploy 🚀 | ||
uses: peaceiris/actions-gh-pages@v4 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./_site | ||
publish_branch: page-2024 # default: gh-pages |