Compare commits

..

44 Commits

Author SHA1 Message Date
0d94c42939 add thomas
All checks were successful
Deploy / deploy (push) Successful in 5s
2026-05-25 12:28:17 -03:00
2808b32cd1 update text
All checks were successful
Deploy / deploy (push) Successful in 4s
2026-05-25 00:30:29 -03:00
0b3c13db0b change scp target folder
All checks were successful
Deploy / deploy (push) Successful in 4s
2026-05-25 00:25:17 -03:00
f9f8a95d4b use completely different method
Some checks failed
Deploy / deploy (push) Failing after 4s
2026-05-25 00:22:56 -03:00
3d9d5d870b create personal directory
All checks were successful
Deploy / deploy (push) Successful in 11s
2026-05-25 00:10:36 -03:00
91f5c2bbfa use a different container for base website build
Some checks failed
Deploy / deploy (push) Failing after 19s
2026-05-25 00:08:34 -03:00
6ec10da715 create new workflow
Some checks failed
Deploy / deploy (push) Failing after 7s
2026-05-25 00:06:33 -03:00
52ca66e6c3 add debugger
Some checks failed
Deploy / deploy (push) Failing after 4s
2026-05-25 00:04:49 -03:00
368fdbc965 update build step again
Some checks failed
Deploy / deploy (push) Failing after 4s
2026-05-24 23:36:09 -03:00
cca8cba42e debug step
Some checks failed
Deploy / deploy (push) Failing after 4s
2026-05-24 23:34:46 -03:00
633b3bb380 specify src directory
Some checks failed
Deploy / deploy (push) Failing after 3s
2026-05-24 23:33:34 -03:00
7c63718e8a change how to build
Some checks failed
Deploy / deploy (push) Failing after 7s
2026-05-24 23:29:33 -03:00
ff1bd46c99 try again
Some checks failed
Deploy / deploy (push) Failing after 47s
2026-05-24 23:26:55 -03:00
884f8fdefe empty 2026-05-24 23:25:58 -03:00
9981b573f3 first post
All checks were successful
Build Hugo Site / build (push) Successful in 7s
2025-11-10 04:13:07 -03:00
16382825be add all languages planned to be supported
All checks were successful
Build Hugo Site / build (push) Successful in 7s
2025-11-10 04:00:10 -03:00
3391a18da7 blog?
All checks were successful
Build Hugo Site / build (push) Successful in 7s
2025-11-10 03:55:23 -03:00
dbd9b9c833 stupid non template config
All checks were successful
Build Hugo Site / build (push) Successful in 7s
2025-11-10 03:52:37 -03:00
f6817eb953 home page?
All checks were successful
Build Hugo Site / build (push) Successful in 7s
2025-11-10 03:51:05 -03:00
b4fbad79f2 add pt
All checks were successful
Build Hugo Site / build (push) Successful in 7s
2025-11-10 03:46:19 -03:00
f264e2ce6f remove old themes
All checks were successful
Build Hugo Site / build (push) Successful in 7s
2025-11-10 03:42:45 -03:00
4e5d468f7b back to papermod 2025-11-10 03:42:17 -03:00
655cd841aa change theme
All checks were successful
Build Hugo Site / build (push) Successful in 10s
2025-11-10 03:39:15 -03:00
1c71f35e1d use example website
All checks were successful
Build Hugo Site / build (push) Successful in 10s
2025-11-10 03:35:24 -03:00
6c6cbc6881 update theme once again
All checks were successful
Build Hugo Site / build (push) Successful in 10s
2025-11-10 03:32:54 -03:00
a975b3d2d0 I know how to spell ok
Some checks failed
Build Hugo Site / build (push) Failing after 8s
2025-11-10 03:28:10 -03:00
4e056ba410 change theme
Some checks failed
Build Hugo Site / build (push) Failing after 8s
2025-11-10 03:25:59 -03:00
6c8e143bea update title again
All checks were successful
Build Hugo Site / build (push) Successful in 7s
2025-11-10 03:07:03 -03:00
ce6eee1514 update title
All checks were successful
Build Hugo Site / build (push) Successful in 7s
2025-11-10 03:06:25 -03:00
760ca4c70b add submodules
All checks were successful
Build Hugo Site / build (push) Successful in 8s
2025-11-10 02:54:56 -03:00
12de9f6186 oops
All checks were successful
Build Hugo Site / build (push) Successful in 6s
2025-11-10 02:53:02 -03:00
6b76c3044f install deps
Some checks failed
Build Hugo Site / build (push) Failing after 3s
2025-11-10 02:52:20 -03:00
1dc2d68eff use different image
Some checks failed
Build Hugo Site / build (push) Failing after 41s
2025-11-10 02:50:36 -03:00
ff4d896917 take 4
Some checks failed
Build Hugo Site / build (push) Failing after 6s
2025-11-10 02:49:29 -03:00
a7d6be5ed9 take 3
Some checks failed
Build Hugo Site / build (push) Failing after 6s
2025-11-10 02:46:58 -03:00
02fea3acbf take 2
Some checks failed
Build Hugo Site / build (push) Failing after 5s
2025-11-10 02:44:41 -03:00
a6ecb14763 update install huge step
Some checks failed
Build Hugo Site / build (push) Failing after 6s
2025-11-10 02:42:17 -03:00
851c54f335 update hugo
Some checks failed
Build Hugo Site / build (push) Failing after 6s
2025-11-10 02:40:03 -03:00
99f2e4c2ef install git
Some checks failed
Build Hugo Site / build (push) Failing after 6s
2025-11-10 02:38:38 -03:00
0955fcd348 remove submodule
Some checks failed
Build Hugo Site / build (push) Failing after 26s
2025-11-10 02:37:27 -03:00
bba85939c9 maybe one day this will work
Some checks failed
Build Hugo Site / build (push) Failing after 9s
2025-11-10 02:36:52 -03:00
8643c3c6fd remove submodule
Some checks failed
Build Hugo Site / build (push) Failing after 2s
2025-11-10 02:36:08 -03:00
2a8feb5839 update build to install hugo
Some checks failed
Build Hugo Site / build (push) Failing after 5s
2025-11-10 02:35:41 -03:00
dc190bb251 fix maybe?
Some checks failed
Build Hugo Site / build (push) Failing after 4s
2025-11-10 02:33:50 -03:00
9 changed files with 40 additions and 41 deletions

View File

@@ -1,34 +1,30 @@
name: Build Hugo Site
name: Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: self-hosted
deploy:
runs-on: ubuntu-latest
container:
image: klakegg/hugo:ext-alpine
image: node:20-bullseye
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3
- name: Build
run: hugo --minify
- name: Deploy
run: |
apk add --no-cache rsync openssh
mkdir -p /root/.ssh
echo "$SSH_KEY" > /root/.ssh/id_ed25519
chmod 600 /root/.ssh/id_ed25519
rsync -avz --delete \
-e "ssh -i /root/.ssh/id_ed25519 -o StrictHostKeyChecking=no" \
public/ ${SSH_USER}@${SSH_HOST}:${DEPLOY_PATH}
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
SSH_USER: ${{ secrets.SSH_USER }}
SSH_HOST: ${{ secrets.SSH_HOST }}
DEPLOY_PATH: ${{ secrets.DEPLOY_PATH }}
wget https://github.com/gohugoio/hugo/releases/download/v0.147.1/hugo_0.147.1_linux-amd64.tar.gz
tar -xzf hugo_0.147.1_linux-amd64.tar.gz
./hugo
- name: Deploy
env:
SSH_KEY: ${{ secrets.HUGO_SSH_PRIVATE }}
run: |
mkdir -p ~/.ssh
echo "$SSH_KEY" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan tokyo >> ~/.ssh/known_hosts
scp -r public/* hugo@tokyo:/home/hugo/personal/

3
.gitignore vendored
View File

@@ -1,3 +1,6 @@
.hugo_build.lock
/public/
/resources/
**/.DS_Store/
.DS_Store/
content/.DS_Store

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "themes/PaperMod"]
path = themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod

View File

@@ -1,5 +0,0 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++

7
content/_index.md Normal file
View File

@@ -0,0 +1,7 @@
# Hello
This is my site.
Eu amo a lorrany
hi thomas

View File

@@ -1,6 +0,0 @@
+++
date = '2025-11-10T01:34:11-03:00'
draft = true
title = 'Hello'
+++
hello this is a test

View File

@@ -1,4 +1,3 @@
baseURL = 'https://caio.wakamatsu.cc'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = "PaperMod"
baseURL = "https://caio.wakamatsu.cc"
languageCode = "en-us"
title = "Caio's Corner"

9
layouts/index.html Normal file
View File

@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ .Site.Title }}</title>
</head>
<body>
{{ .Content }}
</body>
</html>

Submodule themes/PaperMod deleted from 1cf53273c3