Skip to content

Ksp praha (#316)

Ksp praha (#316) #373

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/[email protected]
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