Skip to content

2024-25-ksp-prask-events: sustredenia #461

2024-25-ksp-prask-events: sustredenia

2024-25-ksp-prask-events: sustredenia #461

Workflow file for this run

name: Build JSON for pages
on:
push:
branches:
- master
jobs:
gh-pages:
name: Deploy to Github pages
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install python
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build
run: python build.py
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
BRANCH: gh-pages
FOLDER: build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SINGLE_COMMIT: true
- name: Rebuild iCal
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.CI_ACCESS_TOKEN }}
repository: kockatykalendar/ical
event-type: rebuild-ical