Skip to content

site

site #487

Workflow file for this run

name: site
on:
push:
branches: [ master ]
schedule:
# minute hour monthday month weekday, so this runs every Friday at 20:15 UTC
- cron: "15 20 * * 5"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests beautifulsoup4
- name: Generate publication list
run: |
cd publications
python generate_publist.py
- name: Deploy website
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: .
enable_jekyll: true
full_commit_message: "deploy ${{ github.sha }}: ${{ github.event.head_commit.message }}"