first commit
All checks were successful
Build,test and deploy iamstephan.info / deploy-prod (push) Successful in 18s
All checks were successful
Build,test and deploy iamstephan.info / deploy-prod (push) Successful in 18s
This commit is contained in:
commit
a90d2a528d
14 changed files with 369 additions and 0 deletions
39
.github/workflows/deploy.yml
vendored
Normal file
39
.github/workflows/deploy.yml
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
name: Build,test and deploy iamstephan.info
|
||||
run-name: ${{ gitea.actor }} is building, testing and deploying the static page
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy-prod:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Install apt packages
|
||||
run: apt update && apt install -y jq rsync
|
||||
- name: Get latest Hugo version
|
||||
run: |
|
||||
url=$(curl --silent "https://api.github.com/repos/gohugoio/hugo/releases/latest" | jq -r '.assets[] | select(.name | contains("linux-amd64.tar.gz")) | .browser_download_url' | grep -E 'hugo_[0-9]+\.[0-9]+\.[0-9]+_linux-amd64.tar.gz')
|
||||
wget -P /tmp/hugo/ "$url"
|
||||
version=$(echo "$url" | grep -oP 'hugo_\K[0-9]+\.[0-9]+\.[0-9]+')
|
||||
echo "Downloaded Hugo version: $version"
|
||||
- name: Unpack Hugo
|
||||
run: tar -xf /tmp/hugo/* -C ${{ gitea.workspace }}/bin
|
||||
- name: Build the static webpage
|
||||
run: ${{ gitea.workspace }}/bin/hugo --minify
|
||||
- name: Test static page
|
||||
run: bash ${{ gitea.workspace }}/bin/test_static_page.sh
|
||||
- name: Create private key
|
||||
run: |
|
||||
echo "${{ secrets.ACT_RUNNER_KEY }}" > /tmp/act_runner_key
|
||||
chmod 600 /tmp/act_runner_key
|
||||
- name: rsync public directory
|
||||
run: |
|
||||
/usr/bin/rsync -avz --delete -e "ssh -i /tmp/act_runner_key -o StrictHostKeyChecking=no" ${{ gitea.workspace }}/public/* root@vps03.hadan-it.com:/opt/npm/webspace/preview.hadan-it.com/hugo-goa-demo/
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
15
.gitignore
vendored
Normal file
15
.gitignore
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
.DS_Store
|
||||
|
||||
# Generated files by hugo
|
||||
/public/
|
||||
/resources/_gen/
|
||||
/assets/jsconfig.json
|
||||
hugo_stats.json
|
||||
|
||||
# Executable may be added to repository
|
||||
hugo.exe
|
||||
hugo.darwin
|
||||
hugo.linux
|
||||
|
||||
# Temporary lock file while building
|
||||
/.hugo_build.lock
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "themes/hugo-goa"]
|
||||
path = themes/hugo-goa
|
||||
url = https://git.hadan-it.com/stiebke/hugo-goa.git
|
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
BIN
assets/images/headshot.png
Normal file
BIN
assets/images/headshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
26
bin/test_static_page.sh
Executable file
26
bin/test_static_page.sh
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
PORT=8080
|
||||
python3 -m http.server $PORT --directory public/ &
|
||||
|
||||
SERVER_PID=$!
|
||||
|
||||
# Give it a moment to start
|
||||
sleep 2
|
||||
|
||||
# Check if the server is running
|
||||
if ! ps -p $SERVER_PID > /dev/null; then
|
||||
echo "HTTP server failed to start."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check HTTP status
|
||||
status_code=$(curl -o /dev/null -s -w "%{http_code}" http://localhost:$PORT)
|
||||
|
||||
# Kill the http server
|
||||
kill $SERVER_PID
|
||||
|
||||
# Check if status code is 200
|
||||
if [ "$status_code" -ne 200 ]; then
|
||||
echo "Website returned a non-200 status code: $status_code"
|
||||
exit 1
|
||||
fi
|
17
content/about/index.md
Normal file
17
content/about/index.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
+++
|
||||
categories = ["about"]
|
||||
comments = false
|
||||
date = 2024-01-14T07:07:07+01:00
|
||||
draft = false
|
||||
slug = ""
|
||||
tags = ["about"]
|
||||
title = "About"
|
||||
|
||||
showpagemeta = false
|
||||
+++
|
||||
|
||||
Panjim Goa is a visionary leader in the tech industry, known for his innovative approach and dynamic leadership at GoaTech, a leading tech startup. With a background in both technology and business, Panjim has been instrumental in driving the company's growth and success. His journey began with a modest startup in the scenic city of Goa, where his unique ideas and relentless pursuit of excellence set him apart.
|
||||
|
||||
Panjim's philosophy revolves around sustainable and innovative tech solutions that address real-world problems. Under his guidance, GoaTech has developed groundbreaking products that have made a significant impact in the tech world. Despite his achievements, he remains grounded and continues to mentor young tech enthusiasts, fostering a culture of innovation and creativity.
|
||||
|
||||
In his free time, Panjim is an avid reader and enjoys exploring the latest advancements in technology. He's a regular speaker at tech conferences, sharing his insights and experiences to inspire the next generation of tech entrepreneurs. With his forward-thinking vision and dedication, Panjim Goa has become a respected figure in the technology community.
|
37
content/posts/first.md
Normal file
37
content/posts/first.md
Normal file
|
@ -0,0 +1,37 @@
|
|||
+++
|
||||
title = 'My First Post'
|
||||
date = 2024-01-14T07:07:07+01:00
|
||||
draft = false
|
||||
+++
|
||||
|
||||
## Introduction
|
||||
|
||||
Welcome to my first post using Hugo! In this post, I'm going to showcase some basic Markdown formatting and discuss why I chose Hugo for my blogging platform.
|
||||
|
||||
This is **bold** text, and this is _emphasized_ text.
|
||||
|
||||
## Why Hugo?
|
||||
|
||||
[Hugo](https://gohugo.io) is a fast and flexible static site generator, perfect for blogs, portfolios, and even company websites. Here's why I love it:
|
||||
|
||||
- **Speed**: Hugo generates pages at an incredibly fast speed.
|
||||
- **Flexibility**: You can create any type of website with Hugo.
|
||||
- **Community**: The Hugo community is supportive and continuously growing.
|
||||
|
||||
## Markdown Basics
|
||||
|
||||
Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. Here are some basics:
|
||||
|
||||
- **Headers**: Use `##` for a secondary header, and `###` for a tertiary header.
|
||||
- **Lists**:
|
||||
- Unordered lists are created using dashes (`-`).
|
||||
- Ordered lists simply use numbers.
|
||||
- **Links**: To add a [link](#), put the text in square brackets and the URL in parentheses.
|
||||
- **Images**: Add images with ``.
|
||||
- **Code**: Use backticks to `highlight` inline code or triple backticks for code blocks.
|
||||
|
||||
## Conclusion
|
||||
|
||||
I hope this post gives you a glimpse into what Hugo and Markdown can do. Stay tuned for more content!
|
||||
|
||||
Visit the [Hugo](https://gohugo.io) website to learn more!
|
35
content/posts/fourth.md
Normal file
35
content/posts/fourth.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
+++
|
||||
title = 'My Fourth Post'
|
||||
date = 2024-02-01T04:56:02+05:30
|
||||
draft = false
|
||||
+++
|
||||
|
||||
# May the Fourth Be with You: A Galactic Pun
|
||||
|
||||
## Introduction
|
||||
|
||||
Greetings, Earthlings and intergalactic travelers! Today, in my fourth post, we venture into a galaxy far, far away to explore a day cherished by rebels, Jedi, and starship enthusiasts alike — May the Fourth. Yes, you've guessed it! It's the unofficial Star Wars Day, and we're here to unravel an elaborate joke that has transcended space and time.
|
||||
|
||||
## The Origin of the Pun
|
||||
|
||||
It all started a long time ago in a galaxy... well, not too far away. The date was May 4, 1979, when Margaret Thatcher became the first woman Prime Minister of the United Kingdom. Her political party placed a congratulatory ad in the London Evening News that read, "May the Fourth Be with You, Maggie. Congratulations." Little did they know, they had just coined a phrase that would become a rallying cry for Star Wars fans for decades to come.
|
||||
|
||||
## The Cultural Phenomenon
|
||||
|
||||
Fast forward to the present, and May the Fourth has become a global phenomenon. It's a day when the force of puns is strong, and Star Wars fans worldwide unite in their love for the saga. From movie marathons and themed parties to epic cosplay and interstellar memes, the day is marked with great enthusiasm, as if millions of voices suddenly cry out in joy and are suddenly silenced by the start of a Star Wars marathon.
|
||||
|
||||
## The Elaborate Joke
|
||||
|
||||
So, what makes "May the Fourth Be with You" an elaborate joke? It's the seamless blend of a historical date with pop culture, creating a pun that resonates across the universe. It plays on the iconic line, "May the Force be with you," transforming it into a calendar-based quip that even Yoda would find amusing.
|
||||
|
||||
Imagine Darth Vader walking into the Galactic Senate and, instead of force-choking someone for incompetence, he just proclaims, "May the Fourth Be with You!" and everyone just pauses, unsure whether to laugh or run for their lives.
|
||||
|
||||
## Conclusion
|
||||
|
||||
As the sun sets on our Star Wars Day celebrations, we realize that the spirit of May the Fourth goes beyond jokes and puns. It's a day that brings together fans, young and old, in their shared love for a saga that has shaped popular culture. It's about community, nostalgia, and the joy of being part of a universe that continues to inspire and amaze.
|
||||
|
||||
So, as we wrap up this post, let's raise our lightsabers (or glow sticks, for the safety-conscious) and say, "May the Fourth Be with You!" - not just today, but every day in our journey through the stars.
|
||||
|
||||
---
|
||||
|
||||
And remember, the next day is Revenge of the Fifth!
|
35
content/posts/second.md
Normal file
35
content/posts/second.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
+++
|
||||
title = 'My Second Post'
|
||||
date = 2024-02-01T04:55:54+05:30
|
||||
draft = false
|
||||
+++
|
||||
|
||||
## Heading of the Post
|
||||
|
||||
Start writing your content here. You can add more sections, images, links, and various formatting to enrich your post. Here are some ideas to get started:
|
||||
|
||||
### Subheading for a Section
|
||||
|
||||
Discuss a specific topic in detail here. You can add personal insights, professional tips, or any relevant information.
|
||||
|
||||
#### Example Code Blocks
|
||||
|
||||
##### JavaScript
|
||||
|
||||
```javascript
|
||||
console.log("Welcome to my second post!");
|
||||
```
|
||||
|
||||
##### Go
|
||||
|
||||
```go
|
||||
fmt.Println("Welcome to my second post!")
|
||||
```
|
||||
|
||||
##### Python
|
||||
|
||||
```python
|
||||
for i in range(10):
|
||||
print("Welcome to my second post!")
|
||||
|
||||
```
|
36
content/posts/third.md
Normal file
36
content/posts/third.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
+++
|
||||
title = 'My Third Post: We Demonstrate Images'
|
||||
date = 2024-02-01T04:55:59+05:30
|
||||
draft = false
|
||||
+++
|
||||
|
||||
# Reflecting on Carl Sagan's Pale Blue Dot
|
||||
|
||||

|
||||
|
||||
_Photo by [JuniperPhoton]("https://unsplash.com/@juniperphoton?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash")_
|
||||
|
||||
## Introduction
|
||||
|
||||
In 1990, Voyager 1, a tiny spacecraft hurled into the vast expanse of space, turned its camera around at the request of astronomer Carl Sagan and took a photograph of Earth from a distance of about 3.7 billion miles. This image, known as the "Pale Blue Dot," is a humbling depiction of our planet — a tiny, fragile speck suspended in a sunbeam.
|
||||
|
||||
## The Significance of the Pale Blue Dot
|
||||
|
||||
The Pale Blue Dot is more than just a photograph; it's a profound reminder of our place in the universe. In his book, also titled "Pale Blue Dot," Carl Sagan penned an essay reflecting on the photograph's deeper meaning, emphasizing our responsibility to care more kindly for one another and to preserve and cherish the pale blue dot, the only home we've ever known.
|
||||
|
||||

|
||||
_Photo by [Juskteez Vu](https://unsplash.com/@juskteez)_
|
||||
|
||||
### Sagan's Vision
|
||||
|
||||
Sagan's message was clear: our planet is a tiny oasis in the vastness of space. He urged us to move beyond petty differences and to see ourselves as citizens of a single planet, a mote of dust in the great enveloping cosmic dark.
|
||||
|
||||
### Environmental and Philosophical Implications
|
||||
|
||||
The image and Sagan's reflections bring about profound environmental and philosophical implications. It underscores the fragility of our planet and the need for global cooperation to protect our environment and humanity.
|
||||
|
||||
## Conclusion: A Message for Future Generations
|
||||
|
||||
Carl Sagan's Pale Blue Dot remains one of the most powerful messages of our time. It's a message that transcends generations, urging us to look at our planet not just as a place we live in, but as our collective home that needs our care and respect.
|
||||
|
||||
_As we continue to explore the cosmos, let's not forget the lessons from this tiny pale dot we call home._
|
19
content/projects/index.md
Normal file
19
content/projects/index.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
+++
|
||||
categories = ["projects"]
|
||||
comments = false
|
||||
date = "2016-10-02T22:55:05-04:00"
|
||||
draft = false
|
||||
slug = ""
|
||||
tags = ["Panjim Goa", "GoaTech", "innovation"]
|
||||
title = "GoaTech's Rise"
|
||||
|
||||
showpagemeta = true
|
||||
+++
|
||||
|
||||
**Notes**: This article originally appeared on [GoaTech Insights](https://incirclemedia.com).
|
||||
|
||||
GoaTech Insights has always been more than just another tech industry blog. Our mission is to be an integral part of the tech community, offering an in-depth and nuanced look at the latest developments in the field. Our ethos is encapsulated in our tagline: "Innovate and Inspire." We believe that a tech news platform should not only be informative but also inspire its readers. We achieve this by being at the heart of the industry we cover. As a part of the dynamic tech ecosystem, GoaTech Insights is constantly evolving.
|
||||
|
||||
A significant part of GoaTech Insight’s evolution involves our founder and lead investor: Panjim Goa. Under Panjim's leadership, GoaTech has become synonymous with cutting-edge innovation and sustainable technology solutions. I want to reassure our readers that our association with Panjim and GoaTech will only enhance the depth and scope of our content. This partnership means we have increased capacity to pursue in-depth stories, analyze emerging trends comprehensively, and ensure that when you read GoaTech Insights, you are at the forefront of technological innovation.
|
||||
|
||||
**Incircle Media** - Editor-in-Chief
|
101
hugo.toml
Normal file
101
hugo.toml
Normal file
|
@ -0,0 +1,101 @@
|
|||
## Basic Configuration
|
||||
|
||||
baseurl = "https://preview.hadan-it.com/hugo-goa-demo/"
|
||||
builddrafts = false
|
||||
canonifyurls = false
|
||||
languageCode = "en-US"
|
||||
|
||||
contentdir = "content"
|
||||
layoutdir = "layouts"
|
||||
publishdir = "public"
|
||||
|
||||
author = "Panjim Goa"
|
||||
title = "Panjim Goa"
|
||||
|
||||
theme = "hugo-goa"
|
||||
|
||||
## Hugo Built-in Features
|
||||
# disqusShortname = "discusShortname" # Enable if you want to use Disqus
|
||||
# googleAnalytics = "UA-XXXXXXXX-X" # Enable if you want to use Google Analytics
|
||||
enableRobotsTXT = true
|
||||
|
||||
## Site Settings
|
||||
[params]
|
||||
author = "Panjim Goa"
|
||||
intro = "Innovative Tech Visionary"
|
||||
description = "Leading the charge at [Incircle Media](https://incirclemedia.com)"
|
||||
authorimage = "headshot.png"
|
||||
dateformat = "Jan 2, 2006"
|
||||
|
||||
## Site Meta Settings
|
||||
[params.meta]
|
||||
description = "Simple minimalist theme"
|
||||
keywords = "minimalist,blog,goa,hugo,developer"
|
||||
|
||||
## Social Accounts
|
||||
[params.social]
|
||||
github = "<username>"
|
||||
instagram = "<username>"
|
||||
linkedin = "<username>"
|
||||
twitter = "<username>"
|
||||
mastodon = "<server>/@<user>"
|
||||
bsky = "<username>"
|
||||
facebook = "<username>"
|
||||
google = "<username>"
|
||||
googlescholar = "<account_id>"
|
||||
orcid = "0123-4567-8901-2345"
|
||||
stackoverflow = "<username>"
|
||||
lastfm = "<username>"
|
||||
goodreads = "<username>"
|
||||
gitlab = "<username>"
|
||||
bitbucket = "<username>"
|
||||
fivehundredpx = "<username>"
|
||||
flickr = "<username>"
|
||||
foursquare = "<username>"
|
||||
hackernews = "<username>"
|
||||
kickstarter = "<username>"
|
||||
patreon = "<username>"
|
||||
pintrest = "<username>"
|
||||
steam = "<username>"
|
||||
reddit = "<username>"
|
||||
snapchat = "<username>"
|
||||
youtube = "<channelid>"
|
||||
keybase = "<username>"
|
||||
twitch = "<username>"
|
||||
soundcloud = "<username>"
|
||||
tumblr = "<username>"
|
||||
strava = "<username>"
|
||||
skype = "<username>"
|
||||
telegram = "<username>"
|
||||
whatsapp = "<username>"
|
||||
buymeacoffee = "<username>"
|
||||
kaggle = "<username>"
|
||||
holopin = "<username>"
|
||||
email = "you@example.com"
|
||||
pgp = "<key_fingerprint>"
|
||||
|
||||
## Extras
|
||||
[params.extra]
|
||||
copyright = "© 2024. Panjim Goa. [Some Rights Reserved](http://creativecommons.org/licenses/by/3.0/)."
|
||||
poweredby = true
|
||||
highlightjs = true
|
||||
socialmarkup = true
|
||||
toc = true
|
||||
displayrssicon = true
|
||||
|
||||
## Main Menu
|
||||
[[menu.main]]
|
||||
name = "posts"
|
||||
weight = 100
|
||||
identifier = "posts"
|
||||
url = "posts/"
|
||||
[[menu.main]]
|
||||
name = "about"
|
||||
identifier = "about"
|
||||
weight = 200
|
||||
url = "about/"
|
||||
[[menu.main]]
|
||||
name = "projects"
|
||||
identifier = "projects"
|
||||
weight = 300
|
||||
url = "projects/"
|
1
themes/hugo-goa
Submodule
1
themes/hugo-goa
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 38275d42b7469b824cba98d5e054888ef1b0adb8
|
Loading…
Add table
Reference in a new issue