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

feat: Pass credentials through environment variables #14

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

Conversation

RaniAgus
Copy link
Contributor

@RaniAgus RaniAgus commented Jul 28, 2024

Eg:

read GITHUB_USER
export GITHUB_USER

read -s GITHUB_TOKEN
export GITHUB_TOKEN

./deploy.sh ...

@mesaglio
Copy link
Contributor

mesaglio commented Dec 23, 2024

If we use gh cli, we dont need to modify repo url. We can integrate this with gh-token-api

@RaniAgus
Copy link
Contributor Author

RaniAgus commented Jan 5, 2025

Maybe gh-token-api could be an HTTP server that takes care of fetching the repo itself, eg:

git clone http://192.168.0.1/tp-2025-1c-los-borbotones

And we could investigate if it's possible to add an auth layer for that endpoint, so it becomes:

git clone http://192.168.0.1/tp

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.

2 participants