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

Add GitHub Action to push to GESIS #3159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rgaiacs
Copy link
Collaborator

@rgaiacs rgaiacs commented Jan 9, 2025

This is related to #2797.

The final workflow when #2797 is complete will be

  1. PR in https://github.com/jupyterhub/mybinder.org-deploy is merged into main branch
  2. GitHub Actions starts continuous deployment of https://mybinder.org
  3. GitHub Actions push merged PR to https://git.gesis.org/methods-hub/interactive-environment
  4. GESIS GitLab CI/CD starts continuous deployment of https://notebooks.gesis.org/

This PR requires a new secret named GESIS_METHODS_HUB_TOKEN that I'm sending in private to

The secret was encrypted using the public SSH RSA key from GitHub:

ssh-keygen -f username -e -m pem > username.pem
cat GESIS_METHODS_HUB_TOKEN | openssl pkeyutl -encrypt -pubin -inkey username.pem > GESIS_METHODS_HUB_TOKEN.username.txt

To decrypt

cat GESIS_METHODS_HUB_TOKEN.username.txt | openssl pkeyutl -decrypt -inkey path/to/id_rsa > GESIS_METHODS_HUB_TOKEN.txt

@rgaiacs rgaiacs requested a review from manics January 9, 2025 12:24
@rgaiacs rgaiacs self-assigned this Jan 9, 2025
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 this pull request may close these issues.

1 participant