Questions tagged [github]

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

200 questions
3
votes
2 answers

Ansible with Github: Permission denied (Publickey)

I'm trying to understand the GitHub ssh configuration with Ansible (I'm working on the Ansible: Up & Running book). I'm running into two issues. Permission denied (publickey) - When I first ran the ansible-playbook mezzanine.yml playbook, I got a…
Sandwich Heat
  • 131
  • 1
  • 4
3
votes
2 answers

Domain Name Forwarding not working with github pages

I had my blog on github pages with a custom domain name blog.tamizhvendan.in and today I've moved it to a new domain name www.p3programmer.com by updating the CNAME record with www.p3programmer.com. The new domain name is working fine. As it is a…
3
votes
3 answers

keeping a remote server up to date with git repo

So, I'm aware of git hooks, and will be looking into those next, but want to write a simple bash script, run via cron, to keep a repo on a remote server up to date. I imagine it working like this: cron executes myupdatescript.sh myupdatescript.sh…
Greg
  • 231
  • 1
  • 3
  • 11
3
votes
1 answer

Pointing main domain to another server while keeping subdomains in same place

I have a domain I want to point to my github pages site. However, I want to keep the subdomain old.mysite.com pointing at the current server (as this is an archive of my old php blog, which github pages can't host). How would I go about doing this…
wheresrhys
  • 181
  • 1
  • 9
3
votes
1 answer

How to do 'naked domain aliasing' like DNS hosts that support it?

My goal is to use GitHub Pages and also benefit from their CDN, without having to use a third-party DNS host that supports DNS ALIAS record types (or ANAME - neither are accepted standards). I want to know how they do it, can anyone explain…
Tom Brossman
  • 301
  • 4
  • 13
3
votes
1 answer

private github repo in package.json breaking azure website deployment

Trying to deploy an Express app on an Azure "web site" through Github. I have a private repository in package.json dependencies: "dependencies": { "express: "~3.4.0", ... "private-repo":…
AJcodez
  • 233
  • 1
  • 4
  • 11
3
votes
2 answers

pulling git-via-ssh repo via Puppet: "Could not create repository (non-repository at path)"

I'm trying to pull a git (github) repo via Puppet. I've used the official vcsrepo documentation and borrowed from the Fiesta post to come up with the following config: vcsrepo { "/tmp/": ensure => latest, provider => git, source =>…
tedder42
  • 853
  • 1
  • 9
  • 20
3
votes
3 answers

Download Git Zipball in Unix

I'm trying to download a zipball of a git repo: e.g. wget https://github.com/zeromq/jzmq/zipball/master This works fine in a web browser but on unix the file gets a weird name...how do I do this?
DD.
  • 3,114
  • 11
  • 35
  • 50
3
votes
1 answer

Setting up Github post-receive webhook with private Jenkins and private repo

I'm trying to set up a private GitHub project to send a post-receive request to a private Jenkins instance to trigger a project build on branch push. Using latest Jenkins with the GitHub plugin. I believe I set up everything correctly on the Jenkins…
Joseph S.
  • 171
  • 1
  • 2
  • 4
3
votes
1 answer

How to set up multi users on dev server with git and github

I'm working on lamp application. We have 2 servers (Debian) Live and Dev. I constantly work on dev main to add new features and fix bugs. When happy all works well I scp the relevant code to the Live system. Database (mysql) is local to each…
Derek Organ
  • 591
  • 1
  • 10
  • 20
3
votes
2 answers

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 should detect changes from the main…
Sara June
  • 451
  • 1
  • 9
  • 28
2
votes
0 answers

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 they all seem corrupt. If i remove the corrupt image…
dark
  • 121
  • 1
2
votes
2 answers

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, which results in NET::ERR_CERT_COMMON_NAME_INVALID,…
2
votes
0 answers

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 the domain management page of qhoster I find two…
2
votes
1 answer

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/reponame.git /var/tmp/reponame For some reason, this ends…
d-_-b
  • 153
  • 1
  • 7
1 2
3
13 14