Questions tagged [github]

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

200 questions
1
vote
1 answer

Deploying PHP code to Linode on Git push

We are using two Linodes to host our application: one for production and one for staging. I would like to set it up so that when code is pushed to the development branch of our Git repository, the code is automatically deployed to the staging…
Andrew
  • 195
  • 1
  • 1
  • 8
1
vote
2 answers

SSH Key Forwarding fails as soon as I am root

Situation I add a ssh-key to the chain using ssh-add -K the_path as user@local I set up key forwarding as described here https://help.github.com/articles/using-ssh-agent-forwarding AllowAgentForwarding is enabled (local) ForwardAgent is not "no" in…
LeMike
  • 179
  • 1
  • 8
1
vote
1 answer

Download single files from GitHub in CloudFormation template

Within my CloudFormation template, I would like to download text files from GitHub. When I examine the downloaded files is encoded/encrypted content instead of plain text. It doesn't seem like it should matter, but I have files in both public and…
PapelPincel
  • 325
  • 6
  • 18
1
vote
2 answers

Error encountered when setup Github on Mac “Write failed: Broken pipe”

I have been facing this annoying error when trying to setup Github on Mac, OS version is Lion. Basically, I followed the steps as mentioned at this URL: http://help.github.com/mac-set-up-git/ I always stuck at the step of executing this command "ssh…
Son
  • 11
  • 2
1
vote
2 answers

Creating AWS Linux instance with github-pulled application

Is it possible to create AWS Linux instance on the fly so that it could pull a source code from a private gihub repository? My main obstacle is that github requires private keys which I assumably should generate on my Linux instance and manually…
PHP thinker
  • 115
  • 3
1
vote
1 answer

I need to run a script to pull repo. from github without asking me a password

I just got a new server for my website, and I'm trying to create a trunk in a folder where i can pull data from github. That way I can easily get the latest version of the website, and copy the needed files to my www. Git works fine, but then each…
xtrimsky
  • 123
  • 1
  • 3
  • 12
1
vote
2 answers

How to use git pull without entering the passphrase

I'm trying to pull from a GitHub repository in an unattended way, but everytime I do it I get: Enter passphrase for key '/home/yc2/.ssh/id_rsa': And I have to enter it for it work. I managed to skip it by using eval `ssh-agent` ssh-add
pmerino
  • 461
  • 2
  • 5
  • 11
1
vote
2 answers

Pull GitHub Repository into /var/www

I have a private GitHub repo that I'd like to setup my testing server (LAMP) to automatically pull/fetch the files in the master branch and put them in my web root (/var/www). Wouldn't it be possible to create a shell script that would cd to…
Trent Scott
  • 959
  • 1
  • 12
  • 28
1
vote
1 answer

How to point DNS CNAME to external GitHub Pages domain?

I have repository on GitHub with GitHub Pages set up. If I go to myusername.github.io/my-repo everything works correctly. But, I would like to have my own domain name that looks better than that one. I purchased a domain name: mydomain.site. I…
1
vote
0 answers

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@github.com this is the response I get. debug1:…
1
vote
1 answer

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 teams group or individual users that build is…
1
vote
1 answer

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 (2cc7968) instead of this…
Sara June
  • 451
  • 1
  • 9
  • 28
1
vote
1 answer

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 GitHub for that and create a cronjob that supposes…
Ra Spirit
  • 13
  • 3
1
vote
0 answers

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 enabling IDP integration with shibboleth idp on…
rgh
  • 11
  • 3
1
vote
0 answers

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 drafts. In such cases, it's unnecessary to start…