Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# See: https://circleci.com/docs/2.0/language-python/

version: 2
jobs:
build:
working_directory: ~/repo
docker:
- image: circleci/python:3.8.5-buster

steps:
- checkout

- run:
name: Install Python dependencies
command: |
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip wheel setuptools
pip install -r requirements.txt
pip install -r site/requirements.txt

- run:
name: Create notebooks and build site
command: |
source venv/bin/activate
make -C site/ notebooks
make -C site/ html

- store_artifacts:
path: site/_build/html
34 changes: 0 additions & 34 deletions .github/workflows/chatops.yaml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/circleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on: [status]
jobs:
circleci_artifacts_redirector_job:
runs-on: ubuntu-latest
name: Run CircleCI artifacts redirector
steps:
- name: GitHub Action step
uses: larsoner/circleci-artifacts-redirector-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
artifact-path: 0/site/_build/html/index.html
circleci-jobs: build
37 changes: 0 additions & 37 deletions .github/workflows/nbval.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,5 @@ Thumbs.db

# Things specific to this project #
###################################
site/_build/*
site/notebooks/*
Loading