Run CI Task #412
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
name: Run CI Task | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: arduino/setup-task@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check out Site Repository 📄 | |
uses: actions/checkout@v3 | |
- name: Check out Model Repository 🗃️ | |
uses: actions/checkout@v3 | |
with: | |
repository: 'AKSW/leipzig.dataweek.de-model' | |
path: '.model' | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- uses: Gr1N/setup-poetry@v8 | |
- name: Run CI Tasks ⚙️ | |
run: task ci | |
- name: Deploy 🚀 | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./ical/site | |
publish_branch: page-live # default: gh-pages |