<?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: Brady Brown</title>
    <description>The latest articles on DEV Community by Brady Brown (@bobrown101).</description>
    <link>https://dev.to/bobrown101</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%2F32504%2F114ad375-a643-44df-8ad7-3b98ce6d0072.jpeg</url>
      <title>DEV Community: Brady Brown</title>
      <link>https://dev.to/bobrown101</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bobrown101"/>
    <language>en</language>
    <item>
      <title>Automatically version and deploy your documentation with github actions</title>
      <dc:creator>Brady Brown</dc:creator>
      <pubDate>Mon, 17 Feb 2020 20:49:55 +0000</pubDate>
      <link>https://dev.to/bobrown101/automatically-version-and-deploy-your-documentation-with-github-actions-3jkl</link>
      <guid>https://dev.to/bobrown101/automatically-version-and-deploy-your-documentation-with-github-actions-3jkl</guid>
      <description>&lt;p&gt;Hey guys,&lt;/p&gt;

&lt;p&gt;I created two github actions that allow you to automatically version and deploy your documentation.&lt;/p&gt;

&lt;p&gt;You get the simplicity of keeping your documentation versioned in git, without the annoyance of having huge PR's due to auto-generated-doc updates.&lt;/p&gt;

&lt;p&gt;Right now the only hosting provider implemented is netlfiy, however more are planned.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/bobrown101/version-docs"&gt;https://github.com/bobrown101/version-docs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/bobrown101/deploy-branch"&gt;https://github.com/bobrown101/deploy-branch&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is an example of how you would use it within your github repo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name: Version and Deploy docs
on: push
jobs:
  CI:
    runs-on: ubuntu-latest
    env:
      CI: true
    steps:
    - name: Generate docs
      run: yarn docs
    - name: Version docs
      uses: bobrown101/version-docs@v2.1.0
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        doc-location: docs
        doc-branch: docs
    - name: Deploy docs
      uses: bobrown101/deploy-branch@v2.0.0
      with:
        provider: NETLIFY
        netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
        netlify-site-id: &amp;lt;&amp;lt;siteid&amp;gt;&amp;gt;
        branch: docs
        github-token: ${{ secrets.GITHUB_TOKEN }}

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;I would appreciate any feedback and stars on github.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Brady&lt;/p&gt;

</description>
      <category>github</category>
      <category>docs</category>
      <category>versioning</category>
      <category>githubaction</category>
    </item>
  </channel>
</rss>
