Skip to content

Commit 24a7964

Browse files
committed
[update] v2.2
[fix] build mechanism [edit] both `README` and `about-me` markdown files [fix] some css imperfections [remove] declutter some files that werent being used [format] sort files in `/img/` [edit] updated the `config.json` [fix] replace `startup.js` with `index.js` for better compatibility
1 parent 168e463 commit 24a7964

18 files changed

Lines changed: 68 additions & 118 deletions

File tree

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: mcalec-dev
2+
pateron: McAlec

.github/workflows/deploy.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,17 @@ jobs:
1717
with:
1818
node-version: 20
1919
cache: 'npm'
20-
- name: Cache node_modules
21-
uses: actions/cache@v4
22-
with:
23-
path: node_modules
24-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
25-
restore-keys: |
26-
${{ runner.os }}-node-
27-
- name: Install dependencies
28-
run: npm ci
29-
- name: Build project
30-
run: npm install
20+
- name: Install dependencies and build
21+
run: |
22+
npm ci
23+
npm run build
3124
- name: Upload build artifacts
3225
uses: actions/upload-artifact@v4
3326
with:
3427
name: build-output
3528
path: |
29+
dist/
3630
public/
37-
node_modules/
3831
package*.json
3932
startup.js
4033
src/
@@ -47,9 +40,6 @@ jobs:
4740
uses: actions/download-artifact@v4
4841
with:
4942
name: build-output
50-
- name: Prepare deployment
51-
run: |
52-
npm run build
5343
- name: Deploy to GitHub Pages
5444
uses: peaceiris/actions-gh-pages@v3
5545
with:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
/.vscode
1+
.env
22
node_modules/
3+
/.vscode
34
/dist

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
11
# mcalec development
22

3-
## DISCLAIMER
4-
5-
I have "moved on" from developing to focus on school and my mental health. This site (and many others) won't be updated as often.
6-
If you really need to contact me find my email below. See the Bluesky post [here](https://bsky.mcalec.dev/).
7-
83
## What is this?
94

105
This is my personal website hosted at [mcalec.dev](https://mcalec.dev/).
116

12-
## For GitHub/GitLab (etc.)
13-
14-
Before suspending my account please contact the email below to let me know before any removals or takedowns.
15-
I do NOT condone or partake in any malicious or hacking activities.
16-
17-
GitHub/GitLab Removals: removals[at]mcalec[dot]dev
18-
197
## Contact Me
208

219
General: hello[at]mcalec[dot]dev
File renamed without changes.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "mcalec.dev",
3-
"version": "v2.1",
3+
"version": "v2.2",
44
"description": "personal website",
5-
"main": "startup.js",
5+
"main": "index.js",
66
"scripts": {
7-
"start": "node startup.js",
7+
"start": "node index.js",
88
"build": "node src/build.js"
99
},
1010
"repository": {

public/css/music.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ p {
111111
#collapse-toggle {
112112
width: 30px;
113113
height: 20px;
114-
background: url("/img/arrow1.png") no-repeat center center;
114+
background: url("/img/music/collapse.png") no-repeat center center;
115115
background-size: contain;
116116
border: none;
117117
padding-left: 10px;

public/img/arrow.svg

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

public/img/mcalec-dev.png

-469 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)