Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
195def9964 | ||
|
|
7edaf1993f | ||
|
|
1a201a554a | ||
|
|
f11331d900 | ||
|
|
3f3d2d7c41 | ||
|
|
d4bc6b0a00 | ||
|
|
eb70525934 | ||
|
|
1f9042cb72 | ||
|
|
cf537b1488 | ||
|
|
af883f2f6e | ||
|
|
fc16fb4046 | ||
|
|
7481185e14 | ||
|
|
54cb434cd3 | ||
|
|
49aeb6e4af | ||
|
|
d3681e8b7b | ||
|
|
9b7e73029a | ||
|
|
1a2e6feb52 | ||
|
|
c859780f74 | ||
|
|
dd9e97016c | ||
|
|
82b5a211b4 | ||
|
|
83e5be25e3 | ||
|
|
e326ae01d7 | ||
|
|
0576d99b9d | ||
|
|
c4785c3f7e | ||
|
|
053b5784aa | ||
|
|
543522ea7f | ||
|
|
d92074b59b | ||
|
|
537dcd6536 | ||
|
|
8ff3722780 | ||
|
|
479a4d8ebc | ||
|
|
ffd9b46bd8 | ||
|
|
fd70e7a0fa
|
@@ -10,25 +10,53 @@ defaults:
|
||||
working-directory: ./
|
||||
|
||||
jobs:
|
||||
cd:
|
||||
build:
|
||||
timeout-minutes: 6
|
||||
name: CD
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: "latest"
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo -D -F
|
||||
- name: Create GitHub deployment
|
||||
uses: chrnorm/deployment-action@releases/v1
|
||||
id: deployment
|
||||
run: hugo --minify
|
||||
|
||||
- name: Upload deployment
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
token: "${{ github.token }}"
|
||||
target_url: https://maik.dev/
|
||||
environment: production
|
||||
initial_status: "success"
|
||||
name: public-html
|
||||
path: ./public
|
||||
|
||||
deploy:
|
||||
timeout-minutes: 6
|
||||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
environment:
|
||||
name: production
|
||||
url: https://maik.dev/
|
||||
steps:
|
||||
- name: Download deployment
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: public-html
|
||||
path: ./public-html
|
||||
|
||||
- name: Setup SSH config for remote server
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||
echo "${{ secrets.SSH_HOST }} ssh-ed25519 ${{ secrets.SSH_HOST_KEY }}" > ~/.ssh/known_hosts
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
eval "$(ssh-agent -s)"
|
||||
ssh-add ~/.ssh/id_ed25519
|
||||
|
||||
- name: Transfer deployment to remote server
|
||||
run: |
|
||||
rsync -avh --delete-after ./public-html/ ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}:~/maik.dev
|
||||
|
||||
@@ -22,11 +22,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: "latest"
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo -D -F
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
+++
|
||||
author = "Maik de Kruif"
|
||||
title = "{{ replace .Name "-" " " | title }}"
|
||||
date = {{ .Date }}
|
||||
description = ""
|
||||
images = []
|
||||
tags = [
|
||||
"untagged",
|
||||
]
|
||||
categories = [
|
||||
"uncategorized",
|
||||
]
|
||||
+++
|
||||
@@ -1,13 +0,0 @@
|
||||
+++
|
||||
author = "Maik de Kruif"
|
||||
title = "{{ replace .Name "-" " " | title }}"
|
||||
date = {{ .Date }}
|
||||
description = ""
|
||||
images = []
|
||||
tags = [
|
||||
"untagged",
|
||||
]
|
||||
categories = [
|
||||
"uncategorized",
|
||||
]
|
||||
+++
|
||||
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 5.2 MiB |
|
After Width: | Height: | Size: 572 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 630 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 610 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 969 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 2.1 MiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 120 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 823 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 2.8 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 863 KiB |
|
After Width: | Height: | Size: 363 KiB |
|
After Width: | Height: | Size: 339 KiB |
|
After Width: | Height: | Size: 164 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 333 KiB |
|
After Width: | Height: | Size: 179 KiB |
|
After Width: | Height: | Size: 2.2 MiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 662 KiB |
|
After Width: | Height: | Size: 322 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 256 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 153 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 149 KiB |
|
After Width: | Height: | Size: 2.2 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 219 KiB |
|
After Width: | Height: | Size: 193 KiB |
|
After Width: | Height: | Size: 202 KiB |
|
After Width: | Height: | Size: 332 KiB |
|
After Width: | Height: | Size: 281 KiB |
|
After Width: | Height: | Size: 261 KiB |
|
After Width: | Height: | Size: 316 KiB |
|
After Width: | Height: | Size: 332 KiB |
|
After Width: | Height: | Size: 369 KiB |
|
After Width: | Height: | Size: 366 KiB |
|
After Width: | Height: | Size: 262 KiB |
|
After Width: | Height: | Size: 249 KiB |
|
After Width: | Height: | Size: 270 KiB |
|
After Width: | Height: | Size: 265 KiB |
|
After Width: | Height: | Size: 277 KiB |
|
After Width: | Height: | Size: 317 KiB |
|
After Width: | Height: | Size: 346 KiB |
|
After Width: | Height: | Size: 363 KiB |
|
After Width: | Height: | Size: 187 KiB |