-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b5f2d9
commit 401dceb
Showing
2 changed files
with
62 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
name: Binder | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
# name: Binder | ||
# on: | ||
# workflow_dispatch: | ||
# push: | ||
# branches: | ||
# - main | ||
|
||
# Push to dockerhub and cache on binder | ||
jobs: | ||
binder: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
# # Push to dockerhub and cache on binder | ||
# jobs: | ||
# binder: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout Code | ||
# uses: actions/checkout@v3 | ||
# with: | ||
# ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: update jupyter dependencies with repo2docker | ||
uses: jupyterhub/repo2docker-action@master | ||
with: | ||
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_NREL_USER }} | ||
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_NREL_TOKEN }} | ||
BINDER_CACHE: true | ||
PUBLIC_REGISTRY_CHECK: true | ||
MYBINDERORG_TAG: ${{ github.event.ref }} # This builds the container on mybinder.org with the branch that was pushed on. | ||
# - name: update jupyter dependencies with repo2docker | ||
# uses: jupyterhub/repo2docker-action@master | ||
# with: | ||
# DOCKER_USERNAME: ${{ secrets.DOCKERHUB_NREL_USER }} | ||
# DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_NREL_TOKEN }} | ||
# BINDER_CACHE: true | ||
# PUBLIC_REGISTRY_CHECK: true | ||
# MYBINDERORG_TAG: ${{ github.event.ref }} # This builds the container on mybinder.org with the branch that was pushed on. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters