Skip to content

feat: Pass credentials through environment variables#14

Open
RaniAgus wants to merge 1 commit intomasterfrom
feat/credentials
Open

feat: Pass credentials through environment variables#14
RaniAgus wants to merge 1 commit intomasterfrom
feat/credentials

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