Skip to content

Fix some minor issues #1

Fix some minor issues

Fix some minor issues #1

Workflow file for this run

name: Run and Deploy
on:
push:
branches:
- 'main'
pull_request:
# Allow manual runs through the web UI
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run_script:
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
sudo apt install pandoc
python -m pip install tox
- name: Run Script
run: |
tox -e py311
- name: Run notebook and create html index
run: |
tox -e notebook
- name: Upload files to release
uses: svenstaro/upload-release-action@v2
with:
tag: ${{ steps.date.outputs.date }}
file: timeline*
overwrite: true
body: "Latest version of the timeline"
- name: Push index.html to branch page
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./