<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Spandan Pal</title>
    <description>The latest articles on DEV Community by Spandan Pal (@spandanpal22).</description>
    <link>https://dev.to/spandanpal22</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F452449%2Fd036484a-ad54-4d59-9bf2-e9242fd2b7ef.jpeg</url>
      <title>DEV Community: Spandan Pal</title>
      <link>https://dev.to/spandanpal22</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/spandanpal22"/>
    <language>en</language>
    <item>
      <title>Deploy Django application to Heroku using GitHub Actions </title>
      <dc:creator>Spandan Pal</dc:creator>
      <pubDate>Thu, 20 Aug 2020 17:36:48 +0000</pubDate>
      <link>https://dev.to/spandanpal22/deploy-django-application-to-heroku-using-github-actions-b3</link>
      <guid>https://dev.to/spandanpal22/deploy-django-application-to-heroku-using-github-actions-b3</guid>
      <description>&lt;h3&gt;
  
  
  My Workflow
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fn21drvda2qm48emd4n5h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fn21drvda2qm48emd4n5h.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hey guys, I have built this website using Django and also used Django Restframework to build an API and implement it there on this site. I configured this project to be deployed on Heroku but each time I commit and push a change to my GitHub repository I have to push it again to Heroku to make the changes visible. Then I came to know about GitHub actions and this is where GitHub actions came into play, I have created a GitHub action which will automatically push the commit to Heroku so that I only need to push my changes to GitHub and my website gets updated on its own.&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fvkmzutd6idv6pnn1ftim.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fvkmzutd6idv6pnn1ftim.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
This is how my newly created GitHub action looked.&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F7n93xo2zesubwweszvkj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F7n93xo2zesubwweszvkj.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
And this is after the action ran successfully and did my job.&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;In case you want to check out this website. Here is the link: &lt;br&gt;
&lt;a href="https://spandan-project.herokuapp.com/" rel="noopener noreferrer"&gt;https://spandan-project.herokuapp.com/&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;DIY Deployments&lt;/p&gt;
&lt;h3&gt;
  
  
  Yaml File or Link to Code
&lt;/h3&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/spandanpal22" rel="noopener noreferrer"&gt;
        spandanpal22
      &lt;/a&gt; / &lt;a href="https://github.com/spandanpal22/railway_reservation_sysytem_heroku" rel="noopener noreferrer"&gt;
        railway_reservation_sysytem_heroku
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      In this site you can create your account and access the features of the site. You can search trains, book ,cancel and view your ticket, register complaints and give suggestions also. REST API has been used in making the ticketing section of the site.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Railway_Reservation_System&lt;/h1&gt;

&lt;/div&gt;
&lt;p&gt;In this site you can create your account and access the features of the site. You can search trains, book ,cancel and view your ticket, register complaints and give suggestions also. REST API has been used in making the ticketing section of the site.&lt;/p&gt;
&lt;p&gt;This site is hosted on:
&lt;a href="https://spandan-project.herokuapp.com" rel="nofollow noopener noreferrer"&gt;https://spandan-project.herokuapp.com&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/spandanpal22/railway_reservation_sysytem_heroku" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


</description>
      <category>actionshackathon</category>
      <category>github</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
