Prehodeny Matik a Malynar zima 2025 (#408) #489
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: 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 |