Skip to content

Commit 569aed5

Browse files
committed
revamp site with new theme
1 parent 75246ae commit 569aed5

File tree

282 files changed

+6963
-33774
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+6963
-33774
lines changed

.github/workflows/hugo.yaml

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
name: Build and deploy
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
concurrency:
13+
group: pages
14+
cancel-in-progress: false
15+
16+
defaults:
17+
run:
18+
shell: bash
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
env:
24+
DART_SASS_VERSION: 1.97.2
25+
GO_VERSION: 1.25.5
26+
HUGO_VERSION: 0.154.4
27+
NODE_VERSION: 24.12.0
28+
TZ: Europe/Lisbon
29+
steps:
30+
31+
- name: Checkout
32+
uses: actions/checkout@v6
33+
with:
34+
submodules: recursive
35+
fetch-depth: 0
36+
37+
- name: Setup Go
38+
uses: actions/setup-go@v6
39+
with:
40+
go-version: ${{ env.GO_VERSION }}
41+
cache: false
42+
43+
- name: Setup Node.js
44+
uses: actions/setup-node@v6
45+
with:
46+
node-version: ${{ env.NODE_VERSION }}
47+
48+
- name: Setup Pages
49+
id: pages
50+
uses: actions/configure-pages@v5
51+
52+
- name: Create directory for user-specific executable files
53+
run: |
54+
mkdir -p "${HOME}/.local"
55+
56+
- name: Install Dart Sass
57+
run: |
58+
curl -sLJO "https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz"
59+
tar -C "${HOME}/.local" -xf "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz"
60+
rm "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz"
61+
echo "${HOME}/.local/dart-sass" >> "${GITHUB_PATH}"
62+
63+
- name: Install Hugo
64+
run: |
65+
curl -sLJO "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
66+
mkdir "${HOME}/.local/hugo"
67+
tar -C "${HOME}/.local/hugo" -xf "hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
68+
rm "hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
69+
echo "${HOME}/.local/hugo" >> "${GITHUB_PATH}"
70+
71+
- name: Verify installations
72+
run: |
73+
echo "Dart Sass: $(sass --version)"
74+
echo "Go: $(go version)"
75+
echo "Hugo: $(hugo version)"
76+
echo "Node.js: $(node --version)"
77+
78+
- name: Install Node.js dependencies
79+
run: |
80+
[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true
81+
82+
- name: Configure Git
83+
run: |
84+
git config core.quotepath false
85+
86+
- name: Cache restore
87+
id: cache-restore
88+
uses: actions/cache/restore@v5
89+
with:
90+
path: ${{ runner.temp }}/hugo_cache
91+
key: hugo-${{ github.run_id }}
92+
restore-keys:
93+
hugo-
94+
95+
- name: Build the site
96+
run: |
97+
hugo \
98+
--gc \
99+
--minify \
100+
--baseURL "${{ steps.pages.outputs.base_url }}/" \
101+
--cacheDir "${{ runner.temp }}/hugo_cache"
102+
103+
- name: Cache save
104+
id: cache-save
105+
uses: actions/cache/save@v5
106+
with:
107+
path: ${{ runner.temp }}/hugo_cache
108+
key: ${{ steps.cache-restore.outputs.cache-primary-key }}
109+
110+
- name: Upload artifact
111+
uses: actions/upload-pages-artifact@v4
112+
with:
113+
path: ./public
114+
115+
deploy:
116+
environment:
117+
name: github-pages
118+
url: ${{ steps.deployment.outputs.page_url }}
119+
runs-on: ubuntu-latest
120+
needs: build
121+
steps:
122+
- name: Deploy to GitHub Pages
123+
id: deployment
124+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,183 @@
11
.history
2+
# Created by https://www.toptal.com/developers/gitignore/api/node,hugo,go
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=node,hugo,go
4+
5+
### Go ###
6+
# If you prefer the allow list template instead of the deny list, see community template:
7+
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
8+
#
9+
# Binaries for programs and plugins
10+
*.exe
11+
*.exe~
12+
*.dll
13+
*.so
14+
*.dylib
15+
16+
# Test binary, built with `go test -c`
17+
*.test
18+
19+
# Output of the go coverage tool, specifically when used with LiteIDE
20+
*.out
21+
22+
# Dependency directories (remove the comment below to include it)
23+
# vendor/
24+
25+
# Go workspace file
26+
go.work
27+
28+
### Hugo ###
29+
# Generated files by hugo
30+
/public/
31+
/src/resources/_gen/
32+
/src/assets/jsconfig.json
33+
hugo_stats.json
34+
35+
# Executable may be added to repository
36+
hugo.exe
37+
hugo.darwin
38+
hugo.linux
39+
40+
# Temporary lock file while building
41+
/.hugo_build.lock
42+
43+
### Node ###
44+
# Logs
45+
logs
46+
*.log
47+
npm-debug.log*
48+
yarn-debug.log*
49+
yarn-error.log*
50+
lerna-debug.log*
51+
.pnpm-debug.log*
52+
53+
# Diagnostic reports (https://nodejs.org/api/report.html)
54+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
55+
56+
# Runtime data
57+
pids
58+
*.pid
59+
*.seed
60+
*.pid.lock
61+
62+
# Directory for instrumented libs generated by jscoverage/JSCover
63+
lib-cov
64+
65+
# Coverage directory used by tools like istanbul
66+
coverage
67+
*.lcov
68+
69+
# nyc test coverage
70+
.nyc_output
71+
72+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
73+
.grunt
74+
75+
# Bower dependency directory (https://bower.io/)
76+
bower_components
77+
78+
# node-waf configuration
79+
.lock-wscript
80+
81+
# Compiled binary addons (https://nodejs.org/api/addons.html)
82+
build/Release
83+
84+
# Dependency directories
85+
node_modules/
86+
jspm_packages/
87+
88+
# Snowpack dependency directory (https://snowpack.dev/)
89+
web_modules/
90+
91+
# TypeScript cache
92+
*.tsbuildinfo
93+
94+
# Optional npm cache directory
95+
.npm
96+
97+
# Optional eslint cache
98+
.eslintcache
99+
100+
# Optional stylelint cache
101+
.stylelintcache
102+
103+
# Microbundle cache
104+
.rpt2_cache/
105+
.rts2_cache_cjs/
106+
.rts2_cache_es/
107+
.rts2_cache_umd/
108+
109+
# Optional REPL history
110+
.node_repl_history
111+
112+
# Output of 'npm pack'
113+
*.tgz
114+
115+
# Yarn Integrity file
116+
.yarn-integrity
117+
118+
# dotenv environment variable files
119+
.env
120+
.env.development.local
121+
.env.test.local
122+
.env.production.local
123+
.env.local
124+
125+
# parcel-bundler cache (https://parceljs.org/)
126+
.cache
127+
.parcel-cache
128+
129+
# Next.js build output
130+
.next
131+
out
132+
133+
# Nuxt.js build / generate output
134+
.nuxt
135+
dist
136+
137+
# Gatsby files
138+
.cache/
139+
# Comment in the public line in if your project uses Gatsby and not Next.js
140+
# https://nextjs.org/blog/next-9-1#public-directory-support
141+
# public
142+
143+
# vuepress build output
144+
.vuepress/dist
145+
146+
# vuepress v2.x temp and cache directory
147+
.temp
148+
149+
# Docusaurus cache and generated files
150+
.docusaurus
151+
152+
# Serverless directories
153+
.serverless/
154+
155+
# FuseBox cache
156+
.fusebox/
157+
158+
# DynamoDB Local files
159+
.dynamodb/
160+
161+
# TernJS port file
162+
.tern-port
163+
164+
# Stores VSCode versions used for testing VSCode extensions
165+
.vscode-test
166+
167+
# yarn v2
168+
.yarn/cache
169+
.yarn/unplugged
170+
.yarn/build-state.yml
171+
.yarn/install-state.gz
172+
.pnp.*
173+
174+
### Node Patch ###
175+
# Serverless Webpack directories
176+
.webpack/
177+
178+
# Optional stylelint cache
179+
180+
# SvelteKit build / generate output
181+
.svelte-kit
182+
183+
# End of https://www.toptal.com/developers/gitignore/api/node,hugo,go

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is my own CV, as a site. I choose it to be a website for the obvious reason that I am a web developer.
44

5-
This theme is designed by Xiaoying Riley at 3rd Wave Media (http://themes.3rdwavemedia.com/). Visit her website for more themes [http://themes.3rdwavemedia.com/](http://themes.3rdwavemedia.com/)
5+
You can find the theme in [the toha github repo](https://github.com/hugo-themes/toha).
66

77
## Build
88

assets/css/devresume.min.29e9dfb5719a289f3789e2634fcf443d9cdc8723e2627816a79ee0c42aa3c798.css

Lines changed: 0 additions & 10 deletions
This file was deleted.

assets/css/devresume.min.dfcd8ba19986b168dd5625889f8831f7542014093790f09904f8fe69e94365e9.css

Lines changed: 0 additions & 10 deletions
This file was deleted.

assets/images/avatar.png

-39.5 KB
Binary file not shown.

categories/index.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

favicon.ico

-1.12 KB
Binary file not shown.

0 commit comments

Comments
 (0)