Skip to content

Commit 1136f1f

Browse files
committed
Rewrite the site to make it look like a CV.
1 parent 7e1c5f1 commit 1136f1f

File tree

283 files changed

+434
-9595
lines changed

Some content is hidden

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

283 files changed

+434
-9595
lines changed

.eslintrc.yml

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

.github/workflows/Build & Deploy.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,21 @@ jobs:
1212
uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 0
15-
- name: Create the build directory
16-
run: mkdir public
17-
- name: Build the site
18-
uses: docker://paveloom/site
15+
- name: Install Nix
16+
uses: cachix/install-nix-action@v27
1917
with:
20-
args: |
21-
sh -c "\
22-
scripts/build.bash \
23-
https://paveloom.dev \
24-
https://github.com/paveloom/paveloom.github.io"
18+
nix_path:
19+
nixpkgs=channel:https://github.com/paveloom/nixpkgs/archive/refs/heads/system.zip
20+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
21+
- name: Set up Cachix
22+
uses: cachix/cachix-action@v15
23+
with:
24+
name: paveloom-site
25+
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
26+
- name: Build
27+
run: |
28+
nix build -v .#site
29+
tree -a result
2530
- name: Deploy
2631
env:
2732
SSH_KEY: ${{ secrets.SSH_KEY }}
@@ -35,4 +40,4 @@ jobs:
3540
echo '#!/bin/sh' > ~/.ssh_askpass
3641
echo 'echo $SSH_KEY_PASS' > ~/.ssh_askpass && chmod 700 ~/.ssh_askpass
3742
echo "$SSH_KEY" | tr -d '\r' | DISPLAY=None SSH_ASKPASS=~/.ssh_askpass ssh-add -
38-
rsync -avzh --delete-after public/ "$SSH_USERNAME@$SSH_HOST:$SSH_REMOTE_DIR"
43+
rsync -avzh --delete-after result/ "$SSH_USERNAME@$SSH_HOST:$SSH_REMOTE_DIR"

.github/workflows/Build Image.yml

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

.gitignore

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
# Direnv
2-
.direnv
1+
/.direnv/
2+
/.idea/
3+
/.vscode/
34

4-
# Nix
5-
result
6-
7-
# Generated site
8-
public
9-
book
10-
11-
# PDM
12-
__pypackages__
13-
.pdm-python
14-
15-
# JavaScript
16-
bun.lockb
17-
node_modules
18-
package-lock.json
5+
/result

README.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,7 @@
1-
# Description
2-
3-
Code of my website. Powered by [MkDocs](https://www.mkdocs.org) and [Material for MkDocs](https://squidfunk.github.io/mkdocs-material).
1+
### Notices
42

53
Git mirrors:
4+
65
- [Codeberg](https://codeberg.org/paveloom/paveloom.dev)
76
- [GitHub](https://github.com/paveloom/paveloom.dev)
87
- [GitLab](https://gitlab.com/paveloom-g/personal/paveloom.dev)
9-
10-
## Build
11-
12-
Make sure you have [PDM](https://pdm.fming.dev) installed.
13-
14-
Then, run
15-
16-
```bash
17-
pdm install
18-
pdm mkdocks build
19-
```
20-
21-
## Develop
22-
23-
Develop the site using a local server:
24-
25-
```bash
26-
pdm mkdocs serve
27-
```

content/README.md

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

content/assets/extra.css

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

content/assets/favicon.svg

Lines changed: 0 additions & 38 deletions
This file was deleted.
-15.2 KB
Binary file not shown.
-12.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)