<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>git deployment Archives - Postnidea</title>
	<atom:link href="https://www.postnidea.com/tag/git-deployment/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.postnidea.com/tag/git-deployment/</link>
	<description>Programming Blog, Tutorials, jQuery, Ajax, PHP, MySQL and Demos</description>
	<lastBuildDate>Thu, 24 Oct 2024 09:57:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.2.8</generator>

<image>
	<url>https://www.postnidea.com/wp-content/uploads/2019/08/favicon.ico</url>
	<title>git deployment Archives - Postnidea</title>
	<link>https://www.postnidea.com/tag/git-deployment/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Git deployment using bitbucket pipeline or using script</title>
		<link>https://www.postnidea.com/git-deployment-using-bitbucket-pipeline-or-using-script/</link>
					<comments>https://www.postnidea.com/git-deployment-using-bitbucket-pipeline-or-using-script/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh Kumar]]></dc:creator>
		<pubDate>Thu, 05 Jan 2017 03:53:00 +0000</pubDate>
				<category><![CDATA[bitbucket]]></category>
		<category><![CDATA[bitbucket pipeline]]></category>
		<category><![CDATA[git deploy]]></category>
		<category><![CDATA[Git Repository]]></category>
		<category><![CDATA[gitlab pipeline]]></category>
		<category><![CDATA[free web application deployment]]></category>
		<category><![CDATA[git deployment]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[<p>A few days ago I was writing post related to git in which I described code management using git (its [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/git-deployment-using-bitbucket-pipeline-or-using-script/">Git deployment using bitbucket pipeline or using script</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;">
<p>A few days ago I was writing post related to git in which I described code management using git (its version control tool). You can browse on click below link.</p>
<p><a title="code management in development process" href="http://postnidea.com/code-management-development-process/">code management in development process</a></p>
<p>Now we make more discussion on git. It makes a backup of your code even more also it make deployment of code. Nowadays many companies host a git on our hosting like Bitbucket, Gitlab both companies provides an unlimited repository with a private way so that you can manage more project repository. Now deployment (movement of source code from git repository to hosting) also a basic requirement because when a developer push a code then it also need to deploy on production or development environment so that on both places the code become same on hosting and your git repository.</p>
<p>Auto deployment has so many advantages some of them I describe below.</p>
<ul>
<li>On both places hosting as well as the repository has the same source code so there is no confusion.</li>
<li>There is minimize the human error (like forgot to upload any code or images)</li>
<li>There is no need to handle a separated FTP connection for upload</li>
</ul>
<p>But when we move to deployment then many companies came to the front of you that provides services so their little confusion occur. But as a human nature, everyone chooses cheaper or free service. So I make a lot of research on that &amp; find an easy way of deployment of git repository to hosting. First, i start research from the free repository providing companies like Bitbucket &amp; Gitlab. Both of the companies provide the Pipeline services with the help of that you can carry out the deployment process. I personally use bitbucket pipeline as deployment. I will show you how to use with the help of the video which placed below.</p>
<p><iframe src="https://www.youtube.com/embed/mwQGAFV1yZo?rel=0&amp;showinfo=0" width="560" height="315" frameborder="0" align="middle" allowfullscreen="allowfullscreen"></iframe></p>
<p>I also write below steps with the help of that you can achieve same which as follows</p>
<ul>
<li>When you log into our git then you will find option &#8220;pipeline new&#8221; click on that.</li>
<li>Then pipeline will tell you to configure our yml file. so there is need steps for configuration first init git at a repository. Yml file modifies for push request.</li>
</ul>
<p>Below code for init</p>
<p><script src="https://gist.github.com/postnidea/d8bffafc51f43cd970ad9839c18a74db.js"></script></p>
<p>below code for push request deployment.</p>
<p><script src="https://gist.github.com/postnidea/3a6330141a6561c83c2b1bf27308be83.js"></script></p>
<p>After that git provides the .gitignore file in made entry so that git not tracking yml file.</p>
<p>But GitHub still facing the problem but one thing great it provides the hook with the usage of that you can make the deployment. Below I paste the link.</p>
<p><a title="GitHub Deployment" href="https://github.com/markomarkovic/simple-php-git-deploy">GitHub Deployment</a></p>
<p>Just need to make configuration &amp; add file deploy.php in the web hook on the GitHub so whenever you push the code then the hook call &amp; the file is deployed at the hosting.</p>
</div>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/git-deployment-using-bitbucket-pipeline-or-using-script/">Git deployment using bitbucket pipeline or using script</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.postnidea.com/git-deployment-using-bitbucket-pipeline-or-using-script/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
