Skip to content

Update repo2docker.yaml #46

Update repo2docker.yaml

Update repo2docker.yaml #46

Workflow file for this run

name: build jupyterhub image

Check failure on line 1 in .github/workflows/repo2docker.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/repo2docker.yaml

Invalid workflow file

`on.workflow_run` does not reference any workflows. See https://docs.github.com/actions/learn-github-actions/events-that-trigger-workflows#workflow_run for more information
on:
workflow_dispatch: null
workflow_run:
push:
branch:
- main
paths:
- .github/workflows/repo2docker.yaml
- binder/apt.txt
- binder/environment.yml
- binder/start
- binder/appendix
- binder/postBuild
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout files in repo
uses: actions/checkout@main
- name: update jupyter dependencies with repo2docker
uses: jupyterhub/repo2docker-action@master
with:
DOCKER_USERNAME: ${{github.actor}}
DOCKER_PASSWORD: ${{secrets.GITHUB_TOKEN}}
DOCKER_REGISTRY: ghcr.io
IMAGE_NAME: nmfs-opensci/hub-image-template
APPENDIX_FILE: binder/appendix
# Next line is mandatory for a JupyterHub deployment since default is ${HOME}
# and that is wiped out if there is a persistent home directory
REPO_DIR: /srv/repo