Questions tagged [github]

Github is an online service for using git repositories to enable social and collaborative coding.

200 questions
0
votes
0 answers

Is there any way to display a MOTD when running `git fetch` or `push` or `pull`?

I have a situation where it would be useful to display a message to users when they push or pull or fetch from the command line from our internally hosted Github Enterprise service. After some googling, I saw instances of folks wanting to disable…
Rob Fagen
  • 9
  • 1
0
votes
1 answer

github login with gh tool with ssh key only

Problem description I'm using the command: ssh-keygen -t ed25519 -C "my description" -N "" -f ~/.ssh/gh-test gh repo deploy-key add ~/.ssh/gh-test But I get this error then: To get started with GitHub CLI, please run: gh auth login Alternatively,…
qknight
  • 161
  • 7
0
votes
1 answer

Gettings Warning: Permanently added 'github.com,140.82.x.x' (ECDSA) to the list of known hosts

Having some issues with repetitive logs inside nodejs container, this is my flow : Nodejs container fetching ssh key(private key) Loading it into ssh-agent (eval "$(ssh-agent -s)" && cp ${key} ~/.ssh/id_rsa) Cloning a git repository using…
Eyal Solomon
  • 125
  • 1
  • 7
0
votes
1 answer

Pull ssh key from github server

Many users have their own public ssh keys on github. Is there an easy way to get it knowing someone else's username? I know it's possible - the ubuntu installer gets the keys somehow - but I can't find a way to do it. It would be useful to create…
undefine
  • 1,046
  • 9
  • 21
0
votes
1 answer

How to have a single pipeline run and single commit in github?

In jenkins, we can schedule poll scm to check for every 1 hr, 2hr,etc. In the meanwhile, even if we add n number of commits, let’s say poll scm is 1 hr After 1 hr, it will check for latest commits and if any new, it will launch once. If no commits,…
user2331760
  • 155
  • 4
  • 12
0
votes
1 answer

Automate Kubernetes Deployment using ArgoCD

We have a GitHub repo containing all the Kubernetes cluster yaml files, When we want to update a deployment we simply edit the yaml and push to GitHub. Unfortunately, we then have to kubectl apply -f file.yaml How could one automate the deployment…
Birdy
  • 103
  • 1
  • 4
0
votes
1 answer

Error "no matching mac found" with ubuntu 10.04 and github

I have a web application mounted on an old server with Ubuntu 10.04.4 LTS and for a short time I have not been able to deploy it due to a problem that occurs with the connection to github to download the code: no matching mac found:…
GooSH
  • 1
  • 1
0
votes
2 answers

How to invoke a .env file into a Django project that runs in a Docker container on a K8s server?

I most likely only need a hint into the right direction. I have a docker container running a Django app using gunicorn and nginx. This Django app is currently getting its environment variables from a .env file. FROM python:alpine EXPOSE 8000 RUN…
David
  • 159
  • 8
0
votes
1 answer

How to keep duplicate repository in sync with github?

I have used github duplicate option with --bare in clone and uploaded to a different account in github.com Used as in this link Just as a process to handover the project to another team. But there are recent changes in the original repository, how…
user2331760
  • 155
  • 4
  • 12
0
votes
0 answers

Unable to create pipeline even having write permissions on github,how to fix that?

I have write permissions to the repository, and I can create branches, create pull requests and even merge them also. But, when creating pipeline on azure, I get this error: What I need to add more in settings of github or azure to fix this?
Sara June
  • 451
  • 1
  • 9
  • 28
0
votes
1 answer

https request on github.com subdomains return wrong 301 redirections to domain

First When executing curl -iv4 https://support.github.com/contact I am receiving 301 responses with location https://github.com/contact. Obviously when executing curl against the location returned from the 301 response, I am only getting a 404…
0
votes
1 answer

Apache or NGINX + GitHub runner

I have a development server that I'm currently using for beta-level production (mostly sending out to my clients for proof of work). So what I wanna do is use my runner to automatically sync with main branch (which I'm doing right now without any…
0
votes
1 answer

What is a good way to keep multiple directories' contents synced with releases from a GitHub repo?

I work for a company that maintains lots of custom WordPress plugins and themes for our network of myriad WordPress sites. The repo managers have it set up so that webhooks are added to the repos and push releases out the main server hosting the…
user3183717
  • 101
  • 2
0
votes
0 answers

Is there a way to programmatically push to GitHub using an oauth token?

I want to use a bash script to push to a "build repository" for my Symfony app, which can then be deployed directly to a server. I have the following so far: #!/bin/bash cd .. rm -rf api-analyzer-build git clone…
0
votes
1 answer

Self-Hosted Github runner, how do privileged commands work?

What I'm trying to achieve: A fully automated deployment for a React App, on any commit to the live branch, by my own defined Github Runner, which is running Ubuntu Server 20.04, with npm 6.14.8 What I have so far: autodeploy.yml name:…
Ben
  • 1
  • 1
  • 3