<?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>Forem: Rajiv  Nayan Choubey</title>
    <description>The latest articles on Forem by Rajiv  Nayan Choubey (@rajivnayanc).</description>
    <link>https://forem.com/rajivnayanc</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%2F470143%2Fe6cd4e49-7202-4b8c-b267-48c5d78101fb.jpeg</url>
      <title>Forem: Rajiv  Nayan Choubey</title>
      <link>https://forem.com/rajivnayanc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/rajivnayanc"/>
    <language>en</language>
    <item>
      <title>First Portfolio website</title>
      <dc:creator>Rajiv  Nayan Choubey</dc:creator>
      <pubDate>Sun, 16 May 2021 13:16:00 +0000</pubDate>
      <link>https://forem.com/rajivnayanc/first-portfolio-website-ihf</link>
      <guid>https://forem.com/rajivnayanc/first-portfolio-website-ihf</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;For a long time, I have been thinking to build my own portfolio website. Finally, a few months ago, I started drawing, on paper, how my website should look. I implemented each component one by one and improved them by taking advice from friends. I used React.js for building the website. I wanted to share it with the Dev Community, because, this community was there to help me with silly doubts and detailed posts.&lt;/p&gt;

&lt;p&gt;Here is the link to my website: &lt;a href="https://www.rajivnayanc.com" rel="noopener noreferrer"&gt;https://www.rajivnayanc.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and link to GitHub repo for the same:&lt;br&gt;
&lt;/p&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/rajivnayanc" rel="noopener noreferrer"&gt;
        rajivnayanc
      &lt;/a&gt; / &lt;a href="https://github.com/rajivnayanc/rajivnayanc.com" rel="noopener noreferrer"&gt;
        rajivnayanc.com
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Rajiv Nayan Choubey's Personal Website
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;I would really appreciate honest reviews so that I can improve in the next version of the website. Also, please share your websites so that we all can get inspired by each other.&lt;/p&gt;

&lt;p&gt;Thank You!&lt;/p&gt;

</description>
      <category>react</category>
      <category>webdev</category>
      <category>portfolio</category>
      <category>netlify</category>
    </item>
    <item>
      <title>JSON Resume to GitHub Pages</title>
      <dc:creator>Rajiv  Nayan Choubey</dc:creator>
      <pubDate>Thu, 17 Sep 2020 11:10:08 +0000</pubDate>
      <link>https://forem.com/rajivnayanc/json-resume-to-github-pages-3m14</link>
      <guid>https://forem.com/rajivnayanc/json-resume-to-github-pages-3m14</guid>
      <description>&lt;h3&gt;
  
  
  My Workflow
&lt;/h3&gt;

&lt;p&gt;This GitHub action, &lt;code&gt;resume-creator-action&lt;/code&gt;, is used to create a workflow which will generate Resume HTML Page published on GitHub pages from JSON file (containing all the information). It is very easy to setup. In a few lines of &lt;code&gt;.yml&lt;/code&gt; file and your data in a JSON file following a specific syntax, you will be able to publish your resume to GitHub Pages and share with the world. This is my first submission for GitHub Actions Hackathon.&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%2Fiqigv023r5knle0ppyru.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%2Fiqigv023r5knle0ppyru.png" alt="Screenshot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;This submission lies under &lt;code&gt;Wacky Wildcards&lt;/code&gt;&lt;/p&gt;

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

&lt;p&gt;I created a GitHub action from scratch and its repository is shown below:&lt;/p&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/rajivnayanc" rel="noopener noreferrer"&gt;
        rajivnayanc
      &lt;/a&gt; / &lt;a href="https://github.com/rajivnayanc/resume-creator-action" rel="noopener noreferrer"&gt;
        resume-creator-action
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Creates Resume HTML Page from JSON File and host it on Github Pages
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/rajivnayanc/resume-creator-actionheader.png"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Frajivnayanc%2Fresume-creator-actionheader.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Resume Creator from JSON&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Creates Resume Github Page from JSON using Github Actions.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Prerequisite&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;GitHub Personal Access Token &lt;code&gt;ACCESS_TOKEN&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;resume.json&lt;/code&gt; to build the Resume HTML Page from. (Syntax)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Usage&lt;/h2&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Set up credentials as secrets in you repository using &lt;code&gt;ACCESS_TOKEN&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Following should be added to your workflow on your repositories:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt; - name: Build Resume and Deploy on GitHub Pages
        uses: rajivnayanc/resume-creator-action@v4
        with:
          FileName: path/to/resume.json
        env:
          ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Inputs&lt;/h2&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;ACCESS_TOKEN&lt;/code&gt;&lt;/strong&gt; : &lt;strong&gt;Required&lt;/strong&gt; GitHub Personal Access token. Can also be stored in environment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;FileName&lt;/code&gt;&lt;/strong&gt; : &lt;strong&gt;Required&lt;/strong&gt; Path to the resume JSON file in your repository. It should be provided in &lt;code&gt;with&lt;/code&gt; .&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Result&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;HTML Page according to the JSON file provided and hosted on the gh-pages branch&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Syntax for resume.json&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Root part of the JSON document should be a JSON Object with three keys: "name", "header", and "content".&lt;/li&gt;
&lt;li&gt;"name" stores the name of the Person whose resume is created.&lt;/li&gt;
&lt;li&gt;"header" stores the basic…&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/rajivnayanc/resume-creator-action" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Sample YML for use for your own workflow is shown below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name: Resume Creator from JSON
on:
  push:
    branches:
      - master
jobs:
  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout 🛎️
        uses: actions/checkout@v2.3.1
        with:
          persist-credentials: false
      - name: Build Resume and Deploy on GitHub Pages 🚀
        uses: rajivnayanc/resume-creator-action@v1.1.0
        with:
          FileName: resume.json
        env:
          ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;To test the above GitHub action, I created the example shown below. I provided the &lt;code&gt;resume.json&lt;/code&gt; file and the GitHub action turned it into the HTML page and published on GitHub page of that repository.&lt;/p&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/rajivnayanc" rel="noopener noreferrer"&gt;
        rajivnayanc
      &lt;/a&gt; / &lt;a href="https://github.com/rajivnayanc/resume-creator-example" rel="noopener noreferrer"&gt;
        resume-creator-example
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Example of &lt;a class="mentioned-user" href="https://dev.to/rajivnayanc"&gt;@rajivnayanc&lt;/a&gt;/resume-creator-action  : A GitHub Action Hackathon Dev.to project
    &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;resume-creator-example&lt;/h1&gt;

&lt;/div&gt;

&lt;p&gt;Example of &lt;a href="https://github.com/marketplace/actions/resume-creator-action" rel="noopener noreferrer"&gt;rajivnayanc/resume-creator-action&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub Page published at: &lt;a href="https://rajivnayanc.github.io/resume-creator-example" rel="nofollow noopener noreferrer"&gt;https://rajivnayanc.github.io/resume-creator-example&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Description&lt;/h2&gt;

&lt;/div&gt;

&lt;p&gt;On push to master branch, the workflow creates an Resume HTML Page and publishes to GitHub Pages &lt;code&gt;gh-pages&lt;/code&gt; branch of the repository.&lt;/p&gt;

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


&lt;p&gt;I loved GitHub actions and will come up with more interesting workflows and projects.&lt;/p&gt;

&lt;p&gt;Thank You! Happy Coding!&lt;br&gt;
😍&lt;/p&gt;

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