reinit
This commit is contained in:
commit
ec86a187b5
|
@ -0,0 +1,13 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: Azure Static WebApp
|
||||
|
||||
steps:
|
||||
- name: Build and upload static web app
|
||||
environment:
|
||||
APITOKEN:
|
||||
from_secret: APITOKEN
|
||||
HUGO_VERSION: 0.97.1
|
||||
image: mcr.microsoft.com/appsvc/staticappsclient:stable
|
||||
commands:
|
||||
- /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "public" --app "/drone/src"
|
|
@ -0,0 +1,47 @@
|
|||
name: Azure Static Web Apps CI/CD
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, closed]
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build_and_deploy_job:
|
||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
|
||||
runs-on: ubuntu-latest
|
||||
name: Build and Deploy Job
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Build And Deploy
|
||||
id: builddeploy
|
||||
uses: Azure/static-web-apps-deploy@v1
|
||||
with:
|
||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_MUSHROOM_038A3C503 }}
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
|
||||
action: "upload"
|
||||
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
|
||||
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
|
||||
app_location: "/" # App source code path
|
||||
api_location: "" # Api source code path - optional
|
||||
output_location: "public" # Built app content directory - optional
|
||||
###### End of Repository/Build Configurations ######
|
||||
env:
|
||||
HUGO_VERSION: 0.97.1
|
||||
|
||||
close_pull_request_job:
|
||||
if: github.event_name == 'pull_request' && github.event.action == 'closed'
|
||||
runs-on: ubuntu-latest
|
||||
name: Close Pull Request Job
|
||||
steps:
|
||||
- name: Close Pull Request
|
||||
id: closepullrequest
|
||||
uses: Azure/static-web-apps-deploy@v1
|
||||
with:
|
||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_MUSHROOM_038A3C503 }}
|
||||
action: "close"
|
|
@ -0,0 +1,4 @@
|
|||
public/*
|
||||
.hugo_build.lock
|
||||
resources/_gen
|
||||
jsconfig.json
|
|
@ -0,0 +1,2 @@
|
|||
# personalsite-azure-static-webapp
|
||||
Personal site generated with hugo
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
|
@ -0,0 +1,8 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-linkedin" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<rect x="4" y="4" width="16" height="16" rx="2" />
|
||||
<line x1="8" y1="11" x2="8" y2="16" />
|
||||
<line x1="8" y1="8" x2="8" y2="8.01" />
|
||||
<line x1="12" y1="16" x2="12" y2="11" />
|
||||
<path d="M16 16v-3a2 2 0 0 0 -4 0" />
|
||||
</svg>
|
After Width: | Height: | Size: 514 B |
|
@ -0,0 +1,7 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-file-certificate" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M14 3v4a1 1 0 0 0 1 1h4" />
|
||||
<path d="M5 8v-3a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-5" />
|
||||
<circle cx="6" cy="14" r="3" />
|
||||
<path d="M4.5 17l-1.5 5l3 -1.5l3 1.5l-1.5 -5" />
|
||||
</svg>
|
After Width: | Height: | Size: 486 B |
|
@ -0,0 +1,46 @@
|
|||
baseURL = 'https://www.tormakristof.eu/'
|
||||
languageCode = 'en-us'
|
||||
title = 'HomeLab misadventures - Kristóf Torma'
|
||||
paginate = 5
|
||||
[[module.imports]]
|
||||
path = 'github.com/CaiJimmy/hugo-theme-stack/v3'
|
||||
disable = false
|
||||
|
||||
[params]
|
||||
|
||||
[params.sidebar]
|
||||
subtitle = 'DevOps Enginner'
|
||||
|
||||
[params.sidebar.avatar]
|
||||
enabled = true
|
||||
local = true
|
||||
src = 'avatar.jpg'
|
||||
|
||||
[params.article]
|
||||
math = false
|
||||
toc = true
|
||||
readingTime = true
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "cv"
|
||||
name = "CV"
|
||||
url = "https://cv.tormakristof.eu"
|
||||
|
||||
[menu.main.params]
|
||||
icon = "file-certificate"
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "github"
|
||||
name = "GitHub"
|
||||
url = "https://github.com/tormachris"
|
||||
|
||||
[menu.main.params]
|
||||
icon = "brand-github"
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "linkedin"
|
||||
name = "LinkedIn"
|
||||
url = "https://www.linkedin.com/in/tormakris"
|
||||
|
||||
[menu.main.params]
|
||||
icon = "brand-linkedin"
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
menu:
|
||||
main:
|
||||
name: Home
|
||||
weight: -100
|
||||
params:
|
||||
icon: home
|
||||
---
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
title: About me
|
||||
date: '2022-04-17'
|
||||
lastmod: '2022-04-17'
|
||||
menu:
|
||||
main:
|
||||
weight: -90
|
||||
params:
|
||||
icon: user
|
||||
---
|
||||
|
||||
# About me
|
||||
|
||||
Hi! My name is Kristóf Torma and I am a Hungarian DevOpsEngineer/guy. I spend a lot of my free time playing around with my homelab. There is still much for me to learn despite having tried many different technologies and methodologies connected to my hobby and profession as I self-host more and more services to serve yours truly and also my close circle of friends and family.
|
||||
|
||||
I led a local group of enthusiastic students between 2020 and 2022 called [KSZK](https://kszk.bme.hu/), or in English, a Special Interest Group (SIG) for Computer Science. As a member, and later on, leader of the group, I had the opportunity to operate services for real users and maintain the server and residential network of the Schönherz Dorm, which serves over 1000 students with gigabit Internet access and provides high-quality server colocation services, both to servers operated by us and other students as well.
|
||||
|
||||
I use this blog to share my recent (mis)adventures and lessons learned on a semi-frequent basis. Watch this space to see what I’m working on, and hopefully, take the opportunity to learn together with me!
|
|
@ -0,0 +1,16 @@
|
|||
+++
|
||||
author = "Kristóf Torma"
|
||||
title = "Hello World"
|
||||
date = "2022-04-17"
|
||||
description = "Welcome to my blog!"
|
||||
categories = [
|
||||
"personal"
|
||||
]
|
||||
tags = [
|
||||
"personal"
|
||||
]
|
||||
+++
|
||||
|
||||
# Hello World!
|
||||
|
||||
Hello World! This is my statically generated blog. Very modern and fancy. I plan to post here semi-regularly about things that interest me at the time or maybe I'll tear this place down and replace it with an even more modern and facy blank HTML page.
|
|
@ -0,0 +1,5 @@
|
|||
module github.com/tormachris/personalsite-azure-static-webapp
|
||||
|
||||
go 1.17
|
||||
|
||||
require github.com/CaiJimmy/hugo-theme-stack/v3 v3.11.0 // indirect
|
|
@ -0,0 +1,2 @@
|
|||
github.com/CaiJimmy/hugo-theme-stack/v3 v3.11.0 h1:HyHdT59BYMdPSjDljIWpJY/DT+NPiZgfqMlJBQwOa1A=
|
||||
github.com/CaiJimmy/hugo-theme-stack/v3 v3.11.0/go.mod h1:IPmCXiIxlFSLFYS0tOmYP6ySLviyeNVSabyvSuaxD+I=
|
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in New Issue