Skip to content

Commit

Permalink
Adding github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Dushyant Chakravorty committed Feb 11, 2024
1 parent f1128f2 commit 7efbc3f
Show file tree
Hide file tree
Showing 14 changed files with 317 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/deploy_gh_pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Deploy Hugo site via GitHub Pages

on:
push:
branches:
- main # Set a branch to deploy
pull_request:

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true

- name: Build
run: hugo --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
58 changes: 58 additions & 0 deletions public/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!doctype html>
<html lang="en-us">
<head>
<title>404 Page not found // The Blogness Monster</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.122.0">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Dushyant Chakravorty" />
<meta name="description" content="" />
<link rel="stylesheet" href="/blogness/css/main.min.5b1fcc8902588589c4767187402a3c29f8b8d7a6fdef6d9f8f77045bb0d14fee.css" />



<meta name="twitter:card" content="summary"/><meta name="twitter:title" content="404 Page not found"/>
<meta name="twitter:description" content="A blog about all things I like."/>

<meta property="og:title" content="404 Page not found" />
<meta property="og:description" content="A blog about all things I like." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://dushyant03.github.io/blogness/404.html" />



</head>
<body>
<header class="app-header">
<a href="https://dushyant03.github.io/blogness/"><img class="app-header-avatar" src="/blogness/avatar.jpg" alt="Dushyant Chakravorty" /></a>
<span class="app-header-title">The Blogness Monster</span>
<p>A blog about all things I like.</p>
<div class="app-header-social">

<a href="https://github.com/dushyant03" target="_blank" rel="noreferrer noopener me">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>GitHub</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>

</div>
</header>
<main class="app-container">

<div class="error-404">
<h1 class="error-404-title">O<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-frown">
<title>frown</title>
<circle cx="12" cy="12" r="10"></circle><path d="M16 16s-1.5-2-4-2-4 2-4 2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>
</svg>ps... </h1>
<p>The link you followed may be broken, or the page may have been removed.</p>
<a href="/">Go home <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-arrow-right">
<title>arrow-right</title>
<line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline>
</svg></a>
</div>

</main>
</body>
</html>
Binary file added public/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions public/categories/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Categories // The Blogness Monster</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.122.0">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Dushyant Chakravorty" />
<meta name="description" content="" />
<link rel="stylesheet" href="/blogness/css/main.min.5b1fcc8902588589c4767187402a3c29f8b8d7a6fdef6d9f8f77045bb0d14fee.css" />
<link rel="alternate" type="application/rss+xml" href="https://dushyant03.github.io/blogness/categories/index.xml" title="The Blogness Monster">



<meta name="twitter:card" content="summary"/><meta name="twitter:title" content="Categories"/>
<meta name="twitter:description" content="A blog about all things I like."/>

<meta property="og:title" content="Categories" />
<meta property="og:description" content="A blog about all things I like." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://dushyant03.github.io/blogness/categories/" />



</head>
<body>
<header class="app-header">
<a href="https://dushyant03.github.io/blogness/"><img class="app-header-avatar" src="/blogness/avatar.jpg" alt="Dushyant Chakravorty" /></a>
<span class="app-header-title">The Blogness Monster</span>
<p>A blog about all things I like.</p>
<div class="app-header-social">

<a href="https://github.com/dushyant03" target="_blank" rel="noreferrer noopener me">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>GitHub</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>

</div>
</header>
<main class="app-container">

<article>
<h1>Categories</h1>
<ul class="tags-list">

</ul>
</article>

</main>
</body>
</html>
11 changes: 11 additions & 0 deletions public/categories/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on The Blogness Monster</title>
<link>https://dushyant03.github.io/blogness/categories/</link>
<description>Recent content in Categories on The Blogness Monster</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="https://dushyant03.github.io/blogness/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!doctype html>
<html lang="en-us">
<head>
<title>The Blogness Monster</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.122.0">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Dushyant Chakravorty" />
<meta name="description" content="A blog about all things I like." />
<link rel="stylesheet" href="/blogness/css/main.min.5b1fcc8902588589c4767187402a3c29f8b8d7a6fdef6d9f8f77045bb0d14fee.css" />
<link rel="alternate" type="application/rss+xml" href="https://dushyant03.github.io/blogness/index.xml" title="The Blogness Monster">



<meta name="twitter:card" content="summary"/><meta name="twitter:title" content="The Blogness Monster"/>
<meta name="twitter:description" content="A blog about all things I like."/>

<meta property="og:title" content="The Blogness Monster" />
<meta property="og:description" content="A blog about all things I like." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://dushyant03.github.io/blogness/" />



</head>
<body>
<header class="app-header">
<a href="https://dushyant03.github.io/blogness/"><img class="app-header-avatar" src="/blogness/avatar.jpg" alt="Dushyant Chakravorty" /></a>
<span class="app-header-title">The Blogness Monster</span>
<p>A blog about all things I like.</p>
<div class="app-header-social">

<a href="https://github.com/dushyant03" target="_blank" rel="noreferrer noopener me">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>GitHub</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>

</div>
</header>
<main class="app-container">

<article>
<h1>The Blogness Monster</h1>
<ul class="posts-list">

</ul>




</article>

</main>
</body>
</html>
11 changes: 11 additions & 0 deletions public/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>The Blogness Monster</title>
<link>https://dushyant03.github.io/blogness/</link>
<description>Recent content on The Blogness Monster</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="https://dushyant03.github.io/blogness/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
10 changes: 10 additions & 0 deletions public/page/1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://dushyant03.github.io/blogness/</title>
<link rel="canonical" href="https://dushyant03.github.io/blogness/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://dushyant03.github.io/blogness/">
</head>
</html>
11 changes: 11 additions & 0 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://dushyant03.github.io/blogness/categories/</loc>
</url><url>
<loc>https://dushyant03.github.io/blogness/tags/</loc>
</url><url>
<loc>https://dushyant03.github.io/blogness/</loc>
</url>
</urlset>
54 changes: 54 additions & 0 deletions public/tags/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Tags // The Blogness Monster</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.122.0">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Dushyant Chakravorty" />
<meta name="description" content="" />
<link rel="stylesheet" href="/blogness/css/main.min.5b1fcc8902588589c4767187402a3c29f8b8d7a6fdef6d9f8f77045bb0d14fee.css" />
<link rel="alternate" type="application/rss+xml" href="https://dushyant03.github.io/blogness/tags/index.xml" title="The Blogness Monster">



<meta name="twitter:card" content="summary"/><meta name="twitter:title" content="Tags"/>
<meta name="twitter:description" content="A blog about all things I like."/>

<meta property="og:title" content="Tags" />
<meta property="og:description" content="A blog about all things I like." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://dushyant03.github.io/blogness/tags/" />



</head>
<body>
<header class="app-header">
<a href="https://dushyant03.github.io/blogness/"><img class="app-header-avatar" src="/blogness/avatar.jpg" alt="Dushyant Chakravorty" /></a>
<span class="app-header-title">The Blogness Monster</span>
<p>A blog about all things I like.</p>
<div class="app-header-social">

<a href="https://github.com/dushyant03" target="_blank" rel="noreferrer noopener me">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>GitHub</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>

</div>
</header>
<main class="app-container">

<article>
<h1>Tags</h1>
<ul class="tags-list">

</ul>
</article>

</main>
</body>
</html>
11 changes: 11 additions & 0 deletions public/tags/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on The Blogness Monster</title>
<link>https://dushyant03.github.io/blogness/tags/</link>
<description>Recent content in Tags on The Blogness Monster</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="https://dushyant03.github.io/blogness/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*{box-sizing:border-box}html{line-height:1.6}body{margin:0;font-family:sans-serif;background:#353b43;color:#afbac4}h1,h2,h3,h4,h5,h6{color:#fff}a{color:#57cc8a;transition:color .35s;text-decoration:none}a:hover{color:#fff}code{font-family:monospace,monospace;font-size:1em;color:rgba(175,186,196,.8);text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%}pre{font-size:1rem;line-height:1.2em;margin:0;overflow:auto}pre code{font-size:.8em}::selection{background:rgba(175,186,196,.25)}::-moz-selection{background:rgba(175,186,196,.25)}.app-header{padding:2.5em;background:#242930;text-align:center}.app-header-avatar{width:15rem;height:15rem;border-radius:100%;border:.5rem solid #57cc8a}.app-container{padding:2.5rem}.app-header-social{display:flex;align-items:center;justify-content:center;font-size:2em;color:#fff}.app-header-social a:not(:last-child){margin-right:.4em}.app-header-title{color:#fff;display:block;font-size:2em;margin:.67em 0;font-weight:700}@media(min-width:940px){.app-header{position:fixed;top:0;left:0;width:20rem;min-height:100vh}.app-container{max-width:65rem;margin-left:20rem}}.error-404{text-align:center}.error-404-title{text-transform:uppercase}.icon{display:inline-block;width:1em;height:1em;margin-top:-.125em}.pagination{display:block;list-style:none;padding:0;font-size:.8em;text-align:center;margin:3em 0}.page-item{display:inline-block}.page-item .page-link{display:flex;align-items:center;justify-content:center;width:1.8rem;height:1.8rem}.page-item.active .page-link{color:#fff;border-radius:2em;background:#57cc8a}.post-title{color:#fff}.post-meta>div{display:flex;align-items:center;flex-wrap:wrap;gap:.2em;font-size:.8em}.post-meta>div>.icon{margin-right:.4em}.post-content>pre,.post-content .highlight{margin:1em 0}.post-content>pre,.post-content .highlight>pre,.post-content .highlight>div{border-left:.4em solid rgba(87,204,138,.8);padding:1em}.post-content blockquote{border-left:.4em solid rgba(87,204,138,.8);margin:1em 0;padding:.5em 1em;background:#242930}.post-content blockquote p{margin:.5em 0}.post-content img{max-width:100%}.posts-list{padding:0}.posts-list-item{list-style:none;padding:.4em 0}.posts-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}.posts-list-item-description{display:flex;align-items:center;font-size:.8em}.posts-list-item-description>.icon{margin-right:.4em}.posts-list-item-separator{margin:0 .4em}.tag{display:inline-block;margin-right:.2em;padding:0 .6em;font-size:.9em;border-radius:.2em;white-space:nowrap;background:rgba(255,255,255,.1);transition:color .35s,background .35s}.tag:hover{transition:color .25s,background .05s;background:rgba(255,255,255,.3)}.tags-list{padding:0}.tags-list-item{display:flex;align-items:center;list-style:none;padding:.4em 0}.tags-list-item>.icon{margin-right:.4em}.tags-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}@media(min-width:450px){.tags-list{display:flex;flex-wrap:wrap}.tags-list-item{width:calc(50% - 1em)}.tags-list-item:nth-child(even){margin-left:1em}.tags-list-item:nth-last-child(2){border:none}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"css/main.min.5b1fcc8902588589c4767187402a3c29f8b8d7a6fdef6d9f8f77045bb0d14fee.css","MediaType":"text/css","Data":{"Integrity":"sha256-Wx/MiQJYhYnEdnGHQCo8Kfi416b9722fj3cEW7DRT+4="}}

0 comments on commit 7efbc3f

Please sign in to comment.