Skip to content

Commit d844976

Browse files
2 parents ca0830c + 332513f commit d844976

File tree

2 files changed

+75
-4
lines changed

2 files changed

+75
-4
lines changed

.github/workflows/hugo.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Hugo
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: false
17+
18+
defaults:
19+
run:
20+
shell: bash
21+
22+
jobs:
23+
build:
24+
runs-on: ubuntu-latest
25+
env:
26+
HUGO_VERSION: 0.147.8
27+
steps:
28+
- name: Setup Hugo
29+
uses: peaceiris/actions-hugo@v2
30+
with:
31+
hugo-version: ${{ env.HUGO_VERSION }}
32+
extended: true
33+
- name: Install Dart Sass
34+
run: sudo snap install dart-sass
35+
- name: Checkout
36+
uses: actions/checkout@v4
37+
with:
38+
submodules: recursive
39+
- name: Setup Pages
40+
id: pages
41+
uses: actions/configure-pages@v5
42+
- name: Install Node.js dependencies
43+
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
44+
- name: Build with Hugo
45+
env:
46+
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
47+
HUGO_ENVIRONMENT: production
48+
run: |
49+
hugo \
50+
--minify \
51+
--baseURL "${{ steps.pages.outputs.base_url }}/"
52+
- name: Upload artifact
53+
uses: actions/upload-pages-artifact@v3
54+
with:
55+
path: ./public
56+
57+
deploy:
58+
environment:
59+
name: github-pages
60+
url: ${{ steps.deployment.outputs.page_url }}
61+
runs-on: ubuntu-latest
62+
needs: build
63+
steps:
64+
- name: Deploy to GitHub Pages
65+
id: deployment
66+
uses: actions/deploy-pages@v4

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# IBM x UCL - LLM-Based Legacy Code Refactoring (Tech Blog)
2-
![License](https://img.shields.io/github/license/Andrei-Constantin-Programmer/IBM-UCL-Blog)
2+
[![Blog](https://img.shields.io/badge/Live-Blog-blue?style=flat-square&logo=githubpages)](https://andrei-constantin-programmer.github.io/IBM-UCL-Blog)
3+
[![Hugo](https://github.com/Andrei-Constantin-Programmer/IBM-UCL-Blog/actions/workflows/hugo.yml/badge.svg)](https://github.com/Andrei-Constantin-Programmer/IBM-UCL-Blog/actions/workflows/hugo.yml)
4+
[![GitHub License](https://img.shields.io/github/license/Andrei-Constantin-Programmer/IBM-UCL-Blog)](https://github.com/Andrei-Constantin-Programmer/IBM-UCL-Blog/blob/main/LICENSE)
35

4-
This repository contains the official blog for our MSc group project at University College London (UCL), delivered in collaboration with IBM.
6+
This repository contains the official tech blog for our MSc group project at University College London (UCL), delivered in collaboration with IBM.
57

6-
The project explores how Large Language Models (LLMs) can assist in refactoring legacy software systems to imprve maintainability, reduce technical debt, and accelerate modernisation efforts.
8+
The project explores how Large Language Models (LLMs) can assist in refactoring legacy software systems to improve maintainability, reduce technical debt, and accelerate modernisation efforts.
9+
10+
## 🌐 Live Site
11+
[**Visit the blog**](https://andrei-constantin-programmer.github.io/IBM-UCL-Blog)
712

813
## Built With
914

@@ -37,7 +42,7 @@ choco install hugo-extended -confirm
3742
### Running the Blog
3843

3944
```bash
40-
git clone --recurse-submodules https://github.com/Andrei-Constantin-Programmer/ibm-ucl-blog.git
45+
git clone --recurse-submodules https://github.com/Andrei-Constantin-Programmer/IBM-UCL-Blog.git
4146
cd ibm-ucl-blog
4247
hugo server
4348
```

0 commit comments

Comments
 (0)