Questions tagged [github]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
17 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 ...
1
vote
0answers
17 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 ...
0
votes
0answers
10 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 ...
0
votes
0answers
139 views

When executing action I get `Error: Process completed with exit code 1`

I am trying to setup github actions to deploy my application. My bash-script to start the deployment process looks like this: #!/bin/sh set -e vendor/bin/phpunit (git push) || true git checkout ...
0
votes
0answers
105 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 ...
0
votes
0answers
18 views

Github pages for a project doesn't build posts

I made a small theme for jekyll and I wanted to post it on github pages because it builds jekyll so I tried to added to a subfolder in my github's page but it only builds the main page and nothing ...
1
vote
0answers
16 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 ...
0
votes
2answers
518 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 ...
1
vote
0answers
57 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 ...
0
votes
1answer
88 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 ...
1
vote
3answers
179 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: ...
0
votes
1answer
91 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 ...
0
votes
0answers
873 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. ...
0
votes
0answers
44 views

AWS CodeDeploy Revision Type Github Is Not Active

I'm following this tutorial https://www.fastfwd.com/continuous-deployment-github-aws-ec2-using-aws-codedeploy/ trying to implement CodeDeploy on an Ubuntu EC2 instance (free tier) for testing and ...
0
votes
0answers
13 views

Github Action no Longer accept network actions

I use GitHub Actions to automate my deployments, I do use this Dockerfile: FROM alpine:latest RUN apk update RUN apk add lsof openssh sshpass lftp rsync openssh-client nodejs npm curl jpeg-dev zlib-...
0
votes
0answers
7 views

Resync Jira with GitHub after Repository Transfer

We have GitHub setup to integrate with Jira, such that when anyone pushes a commit to a repository, and that commit starts with a Jira ticket id, the related Jira ticket is updated. We're using the ...
0
votes
0answers
33 views

Cannot mirror github repo on google cloud platform

I am trying to mirror github on GCP, but the message I get is that the repositories cannot be loaded. I tried deleting authorization and re-authorizing GCP on github applications setting, but I am ...
0
votes
0answers
23 views

My GitHub Pages website went viral. 120k page views in 24h. Where do I go from here?

So I built nesteggly.com. Literally an MVP I cooked up over the past couple of months to help my girlfriend plan her retirement. Being a 100% static website and not thinking many people would find it ...
7
votes
0answers
5k 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 ...
0
votes
1answer
56 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 ...
0
votes
1answer
78 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 ...
1
vote
0answers
28 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: ...
0
votes
1answer
31 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.
1
vote
0answers
108 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 ...
1
vote
0answers
372 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.
0
votes
2answers
893 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 ...
2
votes
2answers
453 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, ...
1
vote
0answers
78 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. ...
4
votes
3answers
707 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 ...
2
votes
0answers
37 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 ...
0
votes
1answer
22 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, ...
1
vote
1answer
73 views

How to create a GitHub repository from CLI

Is there any git command/script to create new GitHub repository from CLI?
2
votes
1answer
2k 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/...
3
votes
2answers
78 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
743 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 ...
0
votes
1answer
342 views

HTTPS GitHub Pages DNS to Enforce SSL

On May 1, 2018, GitHub announced that GitHub Pages now gain support for HTTPS. It states that you're all set for this feature if you use CNAME or ALIAS records; or, updated DNS with new IP addresses ...
1
vote
0answers
105 views

Connecting Github organization only with AWS codestar

I have Admin priveledge IAM user on my team's organization AWS account, and I also belong to a github organization of the team as a Owner role (and, we have several owners in the Github Organizaiton). ...
0
votes
2answers
1k views

SSH and GIT auth suddenly stopped working

I've been happily pulling from my repository for months, until now.. :'( For the first time ever git now asks me to add github.com to the known_hosts file. It never did that before, I even didn't ...
2
votes
1answer
853 views

securely connect jenkins and github

we have a Jenkins server running on an ec2 instance. The security groups are very restricted in this server, they only allow traffic from the company office, and the slave nodes. we want to setup ...
0
votes
0answers
63 views

How to enable Github Pages with Custom Domain

I've read through the Github help pages for setting up custom domains, but to no avail. I have just pushed a new Jekyll project to github and am trying to point my domain name to it. I have the ...
1
vote
1answer
1k views

ansible git autodeploy by webhooks

How to automate deployment from git repository hosted on github / bitbucket to ubuntu server using ansible? In github repostory settings->webhooks i can add webhook for pull to master, that will ...
4
votes
3answers
4k views

are github`s IP Addresses changed?

I had an issue today where my deployment on my application servers couldn't be completed due to connection problems with github. I noticed that when I perform a DNS lookup of github.com using ...
1
vote
1answer
152 views

Serving GitHub Pages site with custom domain name via Cloudflare

http://appleseedhq.net/ is a GitHub Pages site hosted at https://appleseedhq.github.io/. I'm following Cloudflare's tutorial to enable HTTPS at https://appleseedhq.net/: https://blog.cloudflare.com/...
1
vote
1answer
1k views

ssh “cannot resolve host” if host is an A entry, but works with CNAME

I have a very strange behavior (bug?) with my ssh client. When I try to use it with an A record, say ssh -vvvT github.com I get the following error: ssh -vvvT github.com OpenSSH_7.2p2 Ubuntu-4ubuntu2....
0
votes
1answer
339 views

Can not clone git project and ssl error

I am working on a Google cloud machine configured with Ubuntu 16.04. I have a personal github which can be accessed with an http url. I tried to clone the repository in to my local Ubuntu machine, it ...
0
votes
1answer
68 views

Docker from github repository

I wish to use a custom docker image that I'm describing from a Dockerfile. I've uploaded this Dockerfile to my own GitHub page and created a repository for it. I'm trying to upload and test laravel ...
1
vote
1answer
145 views

Can AWS Code Commit be used to restrict source code to only be cloned on specific EC2 VMs limited by IP and User?

Does AWS Code Commit support limiting cloning of the code or reading the code to specific EC2 IP addresses or limited by user policy? To stop source code being shared or cloned on non employee ...
1
vote
0answers
92 views

Best way to migrate Git repositories (without interrupting the dev team)?

So I have a repository (in Stash) on an EC2 instance that a dev team is using. I was given instruction that we are getting rid of Stash and moving to Github. I'm trying to figure out the best route ...
-1
votes
2answers
1k views

DNS errors and non-existing subdomains [closed]

When I visit anythinghere.mysite.tld I get a DNS error. However, if you observe the behaviour of anythinghere.google.com and anythinghere.example.com you'll see there's no DNS error. Note: ...