Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [github]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

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 ...
user avatar
  • 103
0 votes
0 answers
15 views

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 ...
user avatar
  • 1
0 votes
2 answers
35 views

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 ....
user avatar
  • 159
0 votes
1 answer
50 views

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 ...
user avatar
1 vote
0 answers
36 views

github not accepting private SSH Key

I have a Private ED25519 SSH key, on a Windows system (using WSL). Permissions of the private key are 400 and permissions on the Public Key are 444. When I test my connection, using ssh -Tvvv git@...
user avatar
0 votes
0 answers
38 views

Issue with AWS Codecommit branches

We have many repositories in codecommit, but recently one of our main repositories (the one with work the most) has been presenting problems with it's branches. Many of the branches does not work, ...
user avatar
0 votes
0 answers
15 views

How to create events in github page using jenkins?

We have a jenkins server where we are creating our services using jenkins pipeline tasks on aws. For somehow, if the build fails, we are destroying the services we created at the end. Is there anyway ...
user avatar
  • 339
0 votes
1 answer
502 views

How to send notifications to teams using azure devops pipeline?

I saw there is a teams app for azure pipelines and while adding that it is asking for complete pipeline access to the group we add to. Instead of using this, I just want to send notification to a ...
user avatar
  • 339
0 votes
0 answers
21 views

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 ...
user avatar
  • 339
2 votes
0 answers
345 views

How to checkout a branch from azure devops pipeline?

I kept trigger to cloud_singlesignon branch. But my pipeline saved to azure-pipelines and the default branch to the repo is master. But the checkout not happening from cloud_singlesignon. I observed, ...
user avatar
  • 339
1 vote
0 answers
306 views

How to tag docker image with git commit code short id, in azure devops?

I saw few links where I can tag my docker image using ${Build.SourceVersion} in azure devops pipeline. But it is using the complete ID of the commit. But I want to use only the short ID. I mean this (...
user avatar
  • 339
2 votes
2 answers
294 views

How to keep pipeline files in a separate repository for azure devops pipeline?

Is there any way to keep the pipeline file separately in a different repo than the one in source code? So that, we can maintain all the pipelines related data in a separate repository but the pipeline ...
user avatar
  • 339
2 votes
1 answer
303 views

How to authenticate and push to GitHub from a CI Script

I keep my development on a personal GitLab server. In my CI/CD script, I want to push the repository to a public GitHub repo when a new tag is created. The CI/CD runs in an ephemeral Docker container, ...
user avatar
0 votes
1 answer
53 views

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 ...
user avatar
-1 votes
1 answer
65 views

Is Gitlab the only vendor support subgroups level git repos?

Try to evaluate a few SaaS Git providers (e.g., Github, Bitbucket) other than Gitlab, but I don't think any of them support a subgroup level repo mycompany/backend/core.git mycompany/devtools.git ...
user avatar
  • 101
0 votes
0 answers
40 views

Deployment through Rundeck x Capistrano x GitHub

I'm facing a problem to deploy code from GitHub. I have a 3 servers : Rundeck is running as Docker container on my first server Capistrano is running in a second server A third server has to receive ...
user avatar
1 vote
1 answer
91 views

Using git and github to share a folder content that has to be updated daily

I have a folder that I want to publicly share with others, the content of the folder suppose to be updated daily: some files gonna be changed, some are deleted, some are added. I would like to use ...
user avatar
0 votes
1 answer
43 views

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 ...
user avatar
0 votes
0 answers
24 views

how to limit git bash to use https url alone and to use only one git platform to push the code to private repo?

We want to setup security to gitbash cli on our shared windows10 virtual desktop. Non-admin Users should use only https url (example: https://gitlab///). Using personal access tokens & ssh keys ...
user avatar
2 votes
1 answer
161 views

Cannot SSH to github.com after changing to static IP

I've been using github.com for a long time, but just had my ISP switch my home internet to a static IP and now I can't SSH to github. What happens with SSH? The id_ed25519 key has just been re-...
user avatar
0 votes
1 answer
5k views

how to fix the npm install fails with 'An unknown git error occurred' in one folder but works in a another folder

My Server runs on Centos 8 and I installed nodejs latest (v14.17.5) and NPM (v7.21.0), both dont have a .git folder in there. I have a very very strange issue, If I goto folder example1.com, and run ...
user avatar
  • 3,855
1 vote
0 answers
47 views

mirror/backup of github repository with metadata

(How) would it be possible to make a full backup/mirror of a github repository, including all branches and tags (with full history) all (open) pull requests all premissions/access restrictions ...
user avatar
  • 111
1 vote
0 answers
29 views

Integrating GitHub Org with SAML shibboleth & post actions

I am at the beginner level of GitHub cloud administration and looking for answers to the below-listed questions after I enable SAML integration (Shibboleth) for my Github cloud Organisation. Before ...
user avatar
  • 11
0 votes
1 answer
25 views

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 ...
user avatar
0 votes
0 answers
534 views

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 ...
user avatar
  • 121
1 vote
0 answers
36 views

Using the "draft" feature of a GitHub PR to stop AWS CodeBuild from building on a PR change

I've set up a CD pipeline from Github to ECS for a non-profit I'm working for. The AWS CodeBuild starts every time a PR is opened, changed, or merged. Sometimes, however, PRs are opened but marked as ...
user avatar
0 votes
2 answers
695 views

Do I need to have my private ssh key stored on my server in order to git clone repos while ssh'd into the server?

I generated my ssh key on my local machine. I then used the following command to copy my public key onto my server: ssh-copy-id username@remote_host. That went smoothly. I have confirmed that my ...
user avatar
  • 145
1 vote
0 answers
362 views

invalid JSON to monitor SMART on Zabbix

I've followed these steps on github: https://github.com/v-zhuravlev/zbx-smartctl to monitor the SMART disks in my Winsows servers on Zabbix. BUt when I add the template to the host I'd configured, on ...
user avatar
  • 11
0 votes
1 answer
734 views

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 ...
user avatar
  • 1
1 vote
3 answers
432 views

Jenkins Github Branch Source Plugin Failing with Github Token after today's Github auth changes

I am currently facing an issue with Jenkins <> Github integration due to today's Github auth changes deprecating user/pass auth and the current Github branch source plugin. Deprecation info: ...
user avatar
  • 180
0 votes
1 answer
260 views

Ansible: clone repo or install helm chart from private github

Any idea how to install Helm chart (tgz) from private Github repo using Ansible? Is it possible at all to do this using Github token only and not ssh key or maybe it is easier to clone private git ...
user avatar
0 votes
0 answers
2k views

Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 111] Connection refused

I am trying to deploy an open-source document management system via docker image, so i followed all instructions laid out on google's "Deploying a containerized web application" tutorial. ...
user avatar
8 votes
1 answer
7k views

kex_exchange_identification: Connection closed by remote host ... How do I resolve this error

emil@DESKTOP-1I1B1NM:~$ git clone git@github.com:EmilYoung2004/git_test.git Cloning into 'git_test'... kex_exchange_identification: Connection closed by remote host fatal: Could not read from remote ...
user avatar
0 votes
1 answer
81 views

Automating SSH authentication to GitHub - what should ~/.ssh/config file look like?

I'm trying to automate logins to GitHub using a private key, so that I can do "git pull/add/commit/push" from a BASH script. If I put this in ~/.ssh/config, it works: Hostname github.com User git ...
user avatar
0 votes
1 answer
243 views

Use the same SSH key to both connect to remote server and push to GitHub from that server

I've generated an SSH key pair to log to my remote server. I've also added that same public key in GitHub. So from my own machine, I have SSH access to GitHub: Hi hdodov! You've successfully ...
user avatar
  • 103
1 vote
0 answers
49 views

accessing github in powershell/terminal resolves to localhost

So I live in China and am using shadowsocksR on my router to bypass the Great firewall. Today when i try to update flutter using the powershell in VScode the powershell gives the error "fatal: ...
user avatar
0 votes
1 answer
32 views

How to avoid pushing our project to their own repository via git [closed]

We want to restrict my developer to upload our own project to their own repository.
user avatar
2 votes
0 answers
178 views

Image files corrupted after deployment on nginx

I do not know why this happened. I first pushed my project to github and then git cloned it into my server(digital ocean). On my local machine i have uploaded over 350 images, but after deployment ...
user avatar
  • 21
1 vote
0 answers
416 views

AWS Amplify frontend deployment says Access Denied on every request

I followed this tutorial. Everything succeeds but when I access the site I get access denied. I don't know why this happens I followed the tutorial exactly as it appears.
user avatar
0 votes
2 answers
1k views

Limiting shell access for git users, but still allowing push / pull access

I'm host a git repository on my server. Anyone can push / pull from the following remote url: ssh://git@example.com/opt/git/my-project.git Specifically, anyone with ssh access to the git@example.com ...
user avatar
2 votes
2 answers
549 views

Forwarding www subdomain with SSL github pages

I've set up a personal website on my apex domain using Github Pages and Google Domains. I've tried to forward www.example.com to example.com which works unless you type in https://www.example.com, ...
user avatar
1 vote
0 answers
107 views

Should the CNAME reference the repo when hosting multiple sites with Github Pages under one username?

I'm running into an issue with a new site I just launched for a private repo but one site works and the other generates a 522 so I'm wondering if it's due to my CNAME. Here's a list of what I've done. ...
user avatar
  • 111
4 votes
3 answers
1k views

Mirror github to Cloud Source Repositories

Can't connect for 3 days already, saing 'Failed to connect repositories' All access already granted and i'm repository owner Perhaps you know how to deal with that EDIT: Bitbucked connected ...
user avatar
  • 141
2 votes
0 answers
62 views

Setup custom domain on GithubPages with QHoster?

I've registered a domain with qhoster.com (foo.com) and I want to link it to my GitHubPages webpage. I've followed the GithubPages guide about this and I don’t manage to make it work. When I go to ...
user avatar
0 votes
1 answer
23 views

Github connection doesn't show up when selecting github release on azure

Via pipeline => edit => add task there's an option for adding a "Github release" which requires a GitHub connection (OAuth or PAT). I've added both an OAuth and a PAT with repo, user, admin:repo_hook, ...
user avatar
1 vote
1 answer
75 views

How to create a GitHub repository from CLI

Is there any git command/script to create new GitHub repository from CLI?
user avatar
2 votes
1 answer
3k views

EC2: Cannot git clone at launch

I am trying to git clone a private repository from GitHub on EC2 instance at launch. What I have in my script(user data) is the following. git clone -b branchname https://github.com/orgname/...
user avatar
  • 153
3 votes
2 answers
106 views

Any security risk in creating root public/private keys and adding public key to Github repo?

I would like to do version control on some important directories on my server such as /etc/apache. All the files and subdirectories in that directory are owned by root:root. Would it be considered a ...
user avatar
  • 310
1 vote
1 answer
2k views

git clone hangs during clone when using sshpass

Has anyone found sshpass works to set a phassphrase for ssh or git clones? I have a github repo with a deploy key and a passphrase This results in prompt for passphrase as expected and clone upon ...
user avatar
1 vote
1 answer
1k views

Intranet Cert Signed by Custom Root CA: I'm Seeing "Revocation function was unable to check"

Background I have a set of internal company websites, which need to have TLS certificates. I went through a whole bunch of tutorials, and ended up using OpenSSL to create a self-signed root ...
user avatar