image: python:latest
stages:
  - publish


publish:
  stage: publish
  tags:
    - docker-executor
  before_script:
    - pip install -U pip
    - pip install nb-filter-cells jupyter_contrib_nbextensions
  script:
    - cd public
    - ./update_public.sh
  only:
    - master
