Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup GitHub action to always build Binder #16

Closed
erwanp opened this issue Jan 6, 2021 · 2 comments · Fixed by #18
Closed

setup GitHub action to always build Binder #16

erwanp opened this issue Jan 6, 2021 · 2 comments · Fixed by #18
Assignees

Comments

@erwanp
Copy link
Member

erwanp commented Jan 6, 2021

Implement this :

https://github.com/marketplace/actions/trigger-binder-build

Note :

Since binder is an none profit project, please use this action sparsely and in a none spammy manner, to treat their resources with care.

👉 let's only use on main branch.

Implementation

I'm not used to Github Actions, but I think we can use this :

name: 'Trigger-Binder-build'
on:
  push:
    branches:
      - main

jobs:
  trigger-binder-build:
    runs-on: [ubuntu-latest]
    steps:
      - uses: s-weigand/trigger-mybinder-build@v1
        with:
          target-repo: radis/radis-lab

Not directly related : afterwards we'll probably also use GitHub Actions to build a part of the docker and reduce the charge on Binder. See #13

@erwanp
Copy link
Member Author

erwanp commented Jan 6, 2021

@suzil if you can help to get us started !

suzil pushed a commit to suzil/radis-lab that referenced this issue Jan 6, 2021
suzil pushed a commit to suzil/radis-lab that referenced this issue Jan 6, 2021
suzil pushed a commit to suzil/radis-lab that referenced this issue Jan 6, 2021
suzil pushed a commit to suzil/radis-lab that referenced this issue Jan 6, 2021
@erwanp erwanp closed this as completed in #18 Jan 6, 2021
@erwanp
Copy link
Member Author

erwanp commented Jan 6, 2021

@suzil : I merged, and pushed some new changes afterwards, but I don't think the Action ran : https://github.com/radis/radis-lab/actions?query=workflow%3AGH is empty.

@erwanp erwanp reopened this Jan 6, 2021
erwanp added a commit that referenced this issue Jan 7, 2021
@erwanp erwanp closed this as completed in b0a6de8 Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants